// CS0121: The call is ambiguous between the following methods or properties: `A.Foo(int, G)' and `A.Foo(int, object)' // Line: 18 class A { static int Foo (T a, G y = null) { return 1; } static int Foo (T a, object y = null) { return 2; } public static int Main () { if (A.Foo (99) != 2) return 1; return 0; } } class G { }