Files
mono/mcs/errors/cs0108.cs
T
Marek Safar f3a7b5e02c Updated to be more consistent
svn path=/trunk/mcs/; revision=45861
2005-06-13 12:15:59 +00:00

12 lines
234 B
C#

// cs0108.cs: `Derived.F()' hides inherited member `Base.F()'. Use the new keyword if hiding was intended
// Line:
// Compiler options: -warnaserror -warn:2
class Base {
public void F () {}
}
class Derived : Base {
void F () {}
}