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

cs0507-5.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8ceeda60fe3e57e707b013a5a9b9fdfd777a2b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0507: `Bar.X()': cannot change access modifiers when overriding `protected internal' inherited member `Foo.X()'
// Line: 13

class Foo
{
	protected internal virtual void X ()
	{
	}
}

class Bar : Foo
{
	protected override void X ()
	{
	}
}