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

static class C
{
	public static void Foo (this string s, int d, bool b)
	{
	}

	static void Main()
	{
		dynamic d = null;
		"x".Foo (d);
	}
}