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

cs0108.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 18201bd0c49e0caf161c7448d9cc452e013148bf (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0108: `Derived.F()' hides inherited member `Base.F()'. Use the new keyword if hiding was intended
// Line:
// Compiler options: -warnaserror -warn:2

class Base {
	public void F () {}
}

class Derived : Base {
	void F () {}
}