e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
16 lines
240 B
C#
16 lines
240 B
C#
// CS8148: `B.Foo': must return by reference to match overridden member `A.Foo'
|
|
// Line: 11
|
|
|
|
public abstract class A
|
|
{
|
|
public abstract ref int Foo { get; }
|
|
}
|
|
|
|
public class B : A
|
|
{
|
|
public override long Foo {
|
|
get {
|
|
throw null;
|
|
}
|
|
}
|
|
} |