[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0121-23.cs
1 // CS0121: The call is ambiguous between the following methods or properties: `C.M(int, string, string)' and `C.M<int>(int, int?, string)'
2 // Line: 16
3
4 class C
5 {
6         static void M (int x, string y, string z = null)
7         {
8         }
9
10         static void M<T>(T t, int? u, string z = null)
11         {
12         }
13
14         static void Main ()
15         {
16                 M (123, null);
17         }
18 }