[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0460.cs
blob8b60dbfb8c8580dcc909db146324276e007724de
1 // CS0460: `C.I.Test<C>()': Cannot specify constraints for overrides and 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