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