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

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

interface A<T>
{
}

interface B<out T>
{
	void C(A<A<T>> a);
}