[mcs] C#7 throw expression
[mono.git] / mcs / errors / cs0109-5.cs
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
4
5 class Base {
6         void Test (bool arg) {}
7 }
8
9 class Derived : Base {
10         new void Test () {}
11 }