Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0121-14.cs
1 // CS0121: The call is ambiguous between the following methods or properties: `C.Foo(int, params string[])' and `C.Foo(string[], int)'
2 // Line: 9
3
4 class C
5 {
6         public static void Main ()
7         {
8                 var d = new C ();
9                 d.Foo (x: 1, y: new [] { "" });
10         }
11
12         public void Foo (int x, params string[] y)
13         {
14         }
15
16         public void Foo (string[] y, int x)
17         {
18         }
19 }