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

16 lines
268 B
C#

// CS0508: `A<T>.B<H>.Test()': return type must be `A<T>.B<H>' to match overridden member `A<A<T>.B<H>>.Test()'
// Line: 10
abstract class A<T>
{
public abstract T Test ();
public class B<H> : A<B<H>>
{
public override B<H> Test ()
{
return this;
}
}
}