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

cs0109-5.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1ebf2b7c672195fdc5adc74991a6b3782eba4b3f (plain)
1
2
3
4
5
6
7
8
9
10
11
// cs0109.cs: The member 'Derived.Test()' does not hide an inherited member. The new keyword is not required
// Line: 10
// Compiler options: -warnaserror -warn:4

class Base {
	void Test (bool arg) {}
}

class Derived : Base {
	new void Test () {}
}