blob: 48af521f026ace887d58cb1d95cda06862cc6d32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// CS0121: The call is ambiguous between the following methods or properties: `Test.Foo(string, params object[])' and `Test.Foo(string, params int[])'
// Line: 16
public class Test
{
static void Foo (string s, params object[] args)
{
}
static void Foo (string s, params int[] args)
{
}
public static void Main ()
{
Foo ("a");
}
}
|