2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs0460-2.cs
blobcd93d2b4ca32aa1f9d21ddf3916f1aa7cefc5aeb
1 // CS0460: `C.Test<T>()': Cannot specify constraints for overrides and 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()