Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0411-14.cs
1 // CS0411: The type arguments for method `C.Foo<T>(ref T, ref T)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 14
3
4 class C
5 {
6         public static void Foo<T> (ref T t1, ref T t2)
7         {
8         }
9         
10         public static void Main ()
11         {
12                 string s = "a";
13                 object o = null;
14                 Foo (ref s, ref o);
15         }
16 }