summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0717-2.cs
blob: f64faa3496709206fb5aa1e54cff652d54af12e8 (plain)
1
2
3
4
5
6
7
// CS0717: `System.Console' is not a valid constraint. Static classes cannot be used as constraints
// Line: 6

abstract class C
{
	public abstract void Foo<U> () where U : System.Console;
}