summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0460.cs
blob: 8b60dbfb8c8580dcc909db146324276e007724de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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
	{
	}
}