cleol
[mcs.git] / errors / gcs0411.cs
blob3394e812eda23901b083cbc034c5c3707bc4febf
1 // CS0411: The type arguments for method `Test<float>.Foo<V>(V, V)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 15
4 class Test<A>
6 public void Foo<V> (V v, V w)
7 { }
10 class X
12 static void Main ()
14 Test<float> test = new Test<float> ();
15 test.Foo (8, "Hello World");