* MSBuild.cs (Execute): Don't share target output items,
[mcs.git] / errors / gcs0460-2.cs
blob035a602b809a5984c2f77ab2f007aaa7d9126fd7
1 // CS0460: `C.Test<T>()': Cannot specify constraints for overrides or explicit interface implementation methods
2 // Line: 11
4 abstract class A
6 protected abstract int Test<T>() where T : class;
9 class C : A
11 protected override int Test<T>() where T : new()