e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
15 lines
220 B
C#
15 lines
220 B
C#
// CS8148: `B.Foo()': must not return by reference to match overridden member `A.Foo()'
|
|
// Line: 11
|
|
|
|
public abstract class A
|
|
{
|
|
public abstract int Foo ();
|
|
}
|
|
|
|
public class B : A
|
|
{
|
|
public override ref int Foo ()
|
|
{
|
|
|
|
}
|
|
} |