a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
346 B
C#
19 lines
346 B
C#
// 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");
|
|
}
|
|
}
|