Merge pull request #3591 from directhex/mono_libdir_fallback
[mono.git] / mcs / errors / cs0109-4.cs
1 // CS0109: The member `Derived.this[string]' does not hide an inherited member. The new keyword is not required
2 // Line: 10
3 // Compiler options: -warnaserror -warn:4
4
5 class Base {
6         public bool this [int arg] { set {} }
7 }
8
9 class Derived : Base {
10         public new bool this [string arg] { set {} }
11 }