2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0109-5.cs
blob568357c68eefba5aaeb9c2e8737cb44f1f505b3d
1 // cs0109.cs: The member `Derived.Test()' does not hide an inherited member. The new keyword is not required
2 // Line: 10
3 // Compiler options: -warnaserror -warn:4
5 class Base {
6 void Test (bool arg) {}
9 class Derived : Base {
10 new void Test () {}