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

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

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

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