1 // cs0672.cs: Member 'B.Test(string)' overrides obsolete member 'A.Test(string)'. Add the Obsolete attribute to 'B.Test(string)'
3 // Compiler options: -warnaserror
9 [Obsolete ("Causes an error", true)]
10 public virtual void Test (string arg) {}
15 public override void Test (string arg) {}