a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
328 B
C#
19 lines
328 B
C#
// 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");
|
|
}
|
|
}
|
|
|