[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs8148-2.cs
1 // CS8148: `B.Foo': must return by reference to match overridden member `A.Foo'
2 // Line: 11
3
4 public abstract class A
5 {
6         public abstract ref int Foo { get; }
7 }
8
9 public class B : A
10 {
11         public override long Foo {
12                 get {
13                         throw null;
14                 }
15         }
16 }