a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
268 B
C#
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;
|
|
}
|
|
}
|
|
}
|