2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0108-8.cs
blob945edcecb095f698fa8a5a06c5d23e13c00ec356
1 // cs0108-8.cs: `Derived.Method()' hides inherited member `Base.Method()'. Use the new keyword if hiding was intended
2 // Line: 11
3 // Compiler options: -warnaserror -warn:2
5 class Base {
6 public bool Method () { return false; }
7 public void Method (int a) {}
10 class Derived : Base {
11 public void Method () {}