12 lines
153 B
C#
Raw Permalink Normal View History

// CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>.C()'
// Line: 8
interface A<T>
{
}
interface B<out T>
{
A<A<T>> C();
}