1 // cs0108-8.cs: `Derived.Method()' hides inherited member `Base.Method()'. Use the new keyword if hiding was intended
3 // Compiler options: -warnaserror -warn:2
6 public bool Method () { return false; }
7 public void Method (int a) {}
10 class Derived : Base {
11 public void Method () {}