Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0311-4.cs
blob3a47bebcf15cfa1497e65e7860e065b4132b9098
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> {}