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


static class Extensions
{
	public static string Foo (this string s)
	{
		return s;
	}
}

public class M
{
	public static void Main ()
	{
		1.Foo ("foo");
	}
}