summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1929-3.cs
blob: c385ca8fb878ebec1e17020e3fa596f47bd286bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS1929: Type `int' does not contain a member `Foo' and the best extension method overload `S.Foo(this uint)' requires an instance of type `uint'
// Line: 15

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

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