Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

21 lines
281 B
C#

// CS0695: `Test<T>.TestN' cannot implement both `C<T>.I' and `C<string>.I' because they may unify for some type parameter substitutions
// Line: 17
class C<T>
{
public interface I
{
}
public class N : C<string>
{
}
}
class Test<T> : C<T>
{
class TestN : I, N.I
{
}
}