[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs1715-3.cs
1 // CS1715: `B.Foo': type must be `int' 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 ref long Foo {
12                 get {
13                         throw null;
14                 }
15         }
16 }