[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0311.cs
blob6ce17f5555918ee47b9290114000dbe6ffb901b7
1 // CS0311: The type `B' cannot be used as type parameter `T' in the generic type or method `Foo<T>'. There is no implicit reference conversion from `B' to `A'
2 // Line: 19
4 public class Foo<T>
5 where T : A
9 public class A
13 public class B
17 class X
19 Foo<B> foo;
21 static void Main ()