2009-02-27 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0108.cs
blobd9ce4f2a9a8cc70fe986dabc4a369e40f2693524
1 // cs0108.cs: `Derived.F()' hides inherited member `Base.F()'. Use the new keyword if hiding was intended
2 // Line:
3 // Compiler options: -warnaserror -warn:2
5 class Base {
6 public void F () {}
9 class Derived : Base {
10 void F () {}