summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0121-21.cs
blob: 04a89920360d6c9c7284f2f699979101bd8499c7 (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: `C.C(double[], int, object)' and `C.C(double[], int, string[])'
// Line: 16

class C
{
	C (double[] o, int i = -1, object ii = null)
	{
	}
	
	C (double[] o, int i = -1, string[] s = null)
	{
	}
	
	public static void Main ()
	{
		new C (null, 1);
	}
}