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

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

interface A<in T>
{
}

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