summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1739-4.cs
blob: ab18a009bebd352dbfcb445795defd5fe9f7a249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS1739: The best overloaded method match for `Program.M(int, int, int)' does not contain a parameter named `whatever'
// Line: 8

public class Program
{
	public static void Main ()
	{
		M (z: 1, whatever: 0);
	}

	void M (int x = 0, int y = 0, int z = 0)
	{
	}
}