summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0411-3.cs
blob: 04c2de60ba9497f06395cdb2dedada9d7794ed69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0411: The type arguments for method `C.Foo<T>(T)' cannot be inferred from the usage. Try specifying the type arguments explicitly
// Line: 12

class C
{
	static void X ()
	{
	}
	
	static void Foo<T> (T t)
	{
		Foo(X ());
	}
}