summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1501-5.cs
blob: 6a51f13592c8db1da9f9030bc078c55ca004a13e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS1501: No overload for method `Foo' takes `1' arguments
// Line: 12

public class Test
{
	static void Foo (int a, int b = 1, int c = 2)
	{
	}
	
	public static void Main ()
	{
		Foo (c : -1);
	}
}