2010-06-21 Atsushi Enomoto <atsushi@ximian.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 () {}