[bcl] Update BCL Linked Size
[mono-project.git] / mcs / errors / cs0121-22.cs
blobacc6444509963e3aa63bd08e230e708394ef26ed
1 // CS0121: The call is ambiguous between the following methods or properties: `A.Foo<int>(int, G<int>)' and `A.Foo<int>(int, object)'
2 // Line: 18
4 class A
6 static int Foo<T> (T a, G<T> y = null)
8 return 1;
11 static int Foo<T> (T a, object y = null)
13 return 2;
16 public static int Main ()
18 if (A.Foo<int> (99) != 2)
19 return 1;
21 return 0;
25 class G<U>