[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0452-2.cs
1 // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `Foo.Test<T>(ref T)'
2 // Line: 14
3 public class Foo
4 {
5         public static void Test<T> (ref T t)
6                 where T : class
7         { }
8 }
9
10 public class C {
11         public static void Main ()
12         {
13                 int i = 0;
14                 Foo.Test<int> (ref i);
15         }
16 }