Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0108-2.cs
index a8fb740b7a7d9493977a62fa91d1fbfbf9bfba5c..239b702ac492429cbaa571e61b2dd7d5271dc8ba 100644 (file)
@@ -1,5 +1,6 @@
-// cs0108-2.cs: The new keyword is required on 'Derived.Test(bool)' because it hides 'BaseInterface.Test(bool)'
+// CS0108: `Derived.Test(bool)' hides inherited member `BaseInterface.Test(bool)'. Use the new keyword if hiding was intended
 // Line: 9
+// Compiler options: -warnaserror -warn:2 -t:library
 
 interface BaseInterface {
        void Test (bool arg);
@@ -7,4 +8,4 @@ interface BaseInterface {
 
 interface Derived : BaseInterface {
        void Test (bool arg);
-}
\ No newline at end of file
+}