Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs0417.cs
1 // CS0417.cs: `T': cannot provide arguments when creating an instance of a variable type
2 // Line: 9
3
4 public class Foo<T>
5         where T : new ()
6 {
7         public T Create ()
8         {
9                 return new T (8);
10         }
11 }
12
13 class X
14 {
15         static void Main ()
16         {
17         }
18 }