* CommandLineException.cs (Message): Include the inner exception message
[mcs.git] / errors / gcs0310-5.cs
blob90a4cd62fe19f17302ae6db6085aa677e3b667e0
1 // CS0310: The type `string' must have a public parameterless constructor in order to use it as parameter `T' in the generic type or method `Program.Ret<T>()'
2 // Line: 10
4 public static class Program
6 static void Main ()
8 Ret<string> ();
11 static T Ret<T> () where T : new ()
13 return new T ();