[mcs] Consider method candidates with misplaced named arguments not applicable. Fixes...
[mono.git] / mcs / errors / cs0121-13.cs
1 // CS0121: The call is ambiguous between the following methods or properties: `C.Foo(int, long, params string[])' and `C.Foo(long, int, params string[])'
2 // Line: 9
3
4 class C
5 {
6         public static void Main ()
7         {
8                 var d = new C ();
9                 d.Foo (b: 1, x: "", a : 2);
10         }
11
12         public void Foo (int a, long b, params string[] x)
13         {
14         }
15
16         public void Foo (long b, int a, params string[] x)
17         {
18         }
19 }