summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1928-3.cs
blob: 0eee7b2d19cf592e0de55c114262fa5af3c786d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS1928: Type `int' does not contain a member `Foo' and the best extension method overload `S.Foo(this uint)' has some invalid arguments
// Line: 15

static class S
{
	public static void Foo (this uint i)
	{
	}
}

class B
{
	static void Main ()
	{
		55.Foo ();
	}
}