Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs0109-5.cs
blobb61336546f6b57294f6a9df2b4264ed74c8d2d70
1 // CS0109: 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 () {}