This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / errors / cs0109-4.cs
1 // cs0109.cs: 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 }