resync
[mcs.git] / errors / gcs0460.cs
blobd016a8ac4a48b772598bc8549989214ee2b43e38
1 // CS0460: `C.I.Test<C>()': Cannot specify constraints for overrides or explicit interface implementation methods
2 // Line: 11
4 interface I
6 void Test<T>() where T : new ();
9 class C : I
11 void I.Test<C>() where C : class