summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0121-7.cs
blob: 00047d73b388110353d98dc18d60a53c0558b21d (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: `D.Test(string)' and `D.Test(int, string)'
// Line: 16

public class D
{
	static void Test (string a = "s")
	{
	}

	static void Test (int i = 9, string a = "b")
	{
	}

	public static void Main ()
	{
		Test ();
	}
}