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

static class S
{
	public static int Test (this int value)
	{
	return value;
	}
}

class M
{
	public static void Main ()
	{
		1.Test (value: 1);
	}
}