a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
257 B
C#
16 lines
257 B
C#
// CS0508: `A<T>.B.getT()': return type must be `A<T>.B' to match overridden member `A<A<T>.B>.getT()'
|
|
// Line: 10
|
|
|
|
abstract class A<T>
|
|
{
|
|
public abstract T getT ();
|
|
|
|
public class B : A<B>
|
|
{
|
|
public override B getT ()
|
|
{
|
|
return default (B);
|
|
}
|
|
}
|
|
}
|