Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0460.cs
1 // CS0460: `C.I.Test<C>()': Cannot specify constraints for overrides and explicit interface implementation methods
2 // Line: 11
3
4 interface I
5 {
6         void Test<T>() where T : new ();
7 }
8
9 class C : I
10 {
11         void I.Test<C>() where C : class
12         {
13         }
14 }