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

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

interface A<T>
{
}

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