summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0406-2.cs
blob: 47aa66c32409d49013811bd205372fad2ac311fa (plain)
1
2
3
4
5
6
7
8
9
// CS0406: The class type constraint `A' must be listed before any other constraints. Consider moving type constraint to the beginning of the constraint list
// Line: 7

class A { }
interface I { }

class Foo<T> where T : I, A
{
}