Flush (work in progress)
[mono.git] / mcs / errors / gcs0311-4.cs
1 // CS0311: The type `B<int>' cannot be used as type parameter `X' in the generic type or method `C<X>'. There is no implicit reference conversion from `B<int>' to `D<B<int>>'
2 // Line: 3
3 class A : C<B<int>> {}
4 class B<X> {}
5 interface C<X> where X : D<X> {}
6 interface D<X> {}