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

cs0108-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 00c407ce69f8428f1172bb9031527d0aeec87c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
// cs0108-2.cs: The new keyword is required on 'Derived.Test(bool)' because it hides 'BaseInterface.Test(bool)'
// Line: 9
// Compiler options: -warnaserror -warn:2 -t:library

interface BaseInterface {
	void Test (bool arg);
}

interface Derived : BaseInterface {
	void Test (bool arg);
}