a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
235 B
C#
15 lines
235 B
C#
// CS0460: `C.I.Test<C>()': Cannot specify constraints for overrides and explicit interface implementation methods
|
|
// Line: 11
|
|
|
|
interface I
|
|
{
|
|
void Test<T>() where T : new ();
|
|
}
|
|
|
|
class C : I
|
|
{
|
|
void I.Test<C>() where C : class
|
|
{
|
|
}
|
|
}
|