blob: 449a414f340233df784cd970ac1b39e2b93f9fc8 (
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,W>(V, V)' cannot be inferred from the usage. Try specifying the type arguments explicitly
// Line: 15
class Test<A>
{
public void Foo<V,W> (V v, V w)
{ }
}
class X
{
static void Main ()
{
Test<float> test = new Test<float> ();
test.Foo (8, 9);
}
}
|