a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
250 B
C#
20 lines
250 B
C#
// CS0305: Using the generic method `X.G<T>()' requires `1' type argument(s)
|
|
// Line: 17
|
|
|
|
using System;
|
|
|
|
delegate int E ();
|
|
|
|
class X
|
|
{
|
|
public static T G<T> ()
|
|
{
|
|
throw new ArgumentException ();
|
|
}
|
|
|
|
static void Main ()
|
|
{
|
|
E e2 = new E (G);
|
|
}
|
|
}
|