Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs1961-13.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 457f795a405a0fcf5e6521e0c263b66b60f8b76d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS1961: The contravariant type parameter `T' must be covariantly valid on `B<T>.A'
// Line: 9
// Compiler options: -langversion:future

interface A<out T>
{
}

interface B<in T>
{
	A<T> A { get; }
}