2009-09-02 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0309.cs
blob91c0703499ef4fe72027edf1d474555cd5522dce
1 // CS0309: The type `B' must be convertible to `A' in order to use it as parameter `T' in the generic type or method `Foo<T>'
2 // Line: 20
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 ()