1 using System.Collections.Generic;
5 static U[] Foo<T, U> (T[] arg) where T : class, U
10 static void TestByRef<T> ()
12 T[] array = new T[10];
13 PassByRef (ref array[0]);
16 static void PassByRef<T> (ref T t)
21 public static int Main ()
23 foreach (var e in Foo<string, object> (new string[] { "as" })) {