2010-05-25 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0311.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 ()