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

gcs0701.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f7c3fcb1ae218479146622f918c6d5be3f5c18d7 (plain)
1
2
3
4
5
6
7
8
// CS0701: `A' is not a valid constraint. A constraint must be an interface, a non-sealed class or a type parameter
// Line: 6

sealed class A { }

class Foo<T> where T : A
{
}