2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0304.cs
blobd9f3591c16cc19be663565206f0d5735f24046b7
1 // CS0304: Cannot create an instance of the variable type 'T' because it doesn't have the new() constraint
2 // Line: 9
4 public class Foo<T>
6 public T Create ()
8 return new T ();
12 class X
14 static void Main ()