2009-09-02 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0121-8.cs
blob75403fc34259a9f9ba0d1138a0493e6e2eda75a5
1 // CS0121: The call is ambiguous between the following methods or properties: `C.Foo(byte)' and `C.Foo(int)'
2 // Line: 18
3 // Compiler options: -langversion:future
5 class C
7 static int Foo (byte b = 9)
9 return 4;
12 static int Foo (int i = 8)
14 return 2;
17 public static void Main ()
19 Foo ();