Align libgcmonosgen vcxproj with makefile.
[mono.git] / mcs / errors / cs0305-7.cs
1 // CS0305: Using the generic method `X.G<T>()' requires `1' type argument(s)
2 // Line: 17
3
4 using System;
5
6 delegate int E ();
7
8 class X
9 {
10         public static T G<T> ()
11         {
12                 throw new ArgumentException ();
13         }
14
15         static void Main ()
16         {
17                 E e2 = new E (G);
18         }
19 }