blob: bdcb6c221e67d0ba58760d643c395b879d3c3a6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// CS0308: The non-generic type `Foo' cannot be used with the type arguments
// Line: 16
public class Foo
{
public string Test<T> ()
{
return null;
}
}
public static class Driver
{
static object UseBrokenType ()
{
return Foo<int> ().Test ();
}
}
|