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

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

class Base {
	public bool this [int arg] { set {} }
}

class Derived : Base {
	public new bool this [string arg] { set {} }
}