avoid using a custom sources file for the net_2_1_raw profile
[mcs.git] / errors / gcs0411-4.cs
blob14402dbbe922b5bcbc62c931fbd8f14875f4762f
1 // CS0411: The type arguments for method `X.G<T>()' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 17
4 using System;
6 delegate int E ();
8 class X
10 public static T G<T> ()
12 throw new ArgumentException ();
15 static void Main ()
17 E e2 = new E (G);