[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0121-8.cs
1 // CS0121: The call is ambiguous between the following methods or properties: `C.Foo(byte)' and `C.Foo(int)'
2 // Line: 18
3
4 class C
5 {
6         static int Foo (byte b = 9)
7         {
8                 return 4;
9         }
10         
11         static int Foo (int i = 8)
12         {
13                 return 2;
14         }
15         
16         public static void Main ()
17         {
18                 Foo ();
19         }
20 }