Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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);
}
}