-// cs0108.cs: The new keyword is required on 'O.InnerAttribute()' because it hides inherited member
+// CS0108: `O.InnerAttribute' hides inherited member `Base.InnerAttribute()'. Use the new keyword if hiding was intended
// Line: 12
-// Compiler options: -t:library
+// Compiler options: -warnaserror -warn:2
using System;
public sealed class InnerAttribute: Attribute {
}
}
+
+class D {
+ static void Main () {}
+}