-// cs0108.cs: The new keyword is required on 'Derived.Method()' because it hides inherited member
-// Line: 10
+// cs0108-8.cs: `Derived.Method()' hides inherited member `Base.Method()'. Use the new keyword if hiding was intended
+// Line: 11
+// Compiler options: -warnaserror -warn:2
class Base {
public bool Method () { return false; }