blob: 957803090484e15d1de29c9240a68da5928be741 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// CS0121: The call is ambiguous between the following methods or properties: `C.Foo(int, params string[])' and `C.Foo(string[], int)'
// Line: 9
class C
{
public static void Main ()
{
var d = new C ();
d.Foo (x: 1, y: new [] { "" });
}
public void Foo (int x, params string[] y)
{
}
public void Foo (string[] y, int x)
{
}
}
|