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