[runtime] Avoid indirection when building MonoContext on darwin
[mono.git] / mcs / errors / cs0717-2.cs
1 // CS0717: `System.Console' is not a valid constraint. Static classes cannot be used as constraints
2 // Line: 6
3
4 abstract class C
5 {
6         public abstract void Foo<U> () where U : System.Console;
7 }