summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0411.cs
blob: 3394e812eda23901b083cbc034c5c3707bc4febf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0411: The type arguments for method `Test<float>.Foo<V>(V, V)' cannot be inferred from the usage. Try specifying the type arguments explicitly
// Line: 15

class Test<A>
{
	public void Foo<V> (V v, V w)
	{ }
}

class X
{
	static void Main ()
	{
		Test<float> test = new Test<float> ();
		test.Foo (8, "Hello World");
	}
}