Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0315-3.cs
blob80ab3db11557a2c8900cc2bfb2d20df918fe1754
1 // CS0315: The type `int' cannot be used as type parameter `U' in the generic type or method `A<int?>.Test<U>()'. There is no boxing conversion from `int' to `int?'
2 // Line: 19
4 class A<T>
6 public static void Test<U> () where U : T
11 class B : A<int?>
15 class Program
17 public static void Main ()
19 B.Test<int> ();