new tests
[mono.git] / mcs / errors / cs0108-8.cs
1 // cs0108.cs: The new keyword is required on 'Derived.Method()' because it hides inherited member
2 // Line: 10
3
4 class Base {
5         public bool Method () { return false; }
6         public void Method (int a) {}
7 }
8
9 class Derived : Base {
10         public void Method () {}
11 }