Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0310-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 ();