Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs8148.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1e9178945c016b6d583da185f2df031f3785e5be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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 ()
	{

	}
}