2005-06-05 Ben Maurer <bmaurer@ximian.com>
[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: 11
3 // Compiler options: -warnaserror -warn:2
4
5 class Base {
6         public bool Method () { return false; }
7         public void Method (int a) {}
8 }
9
10 class Derived : Base {
11         public void Method () {}
12 }