(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / errors / cs0672.cs
blob0aa707aa79cb83a206023941d22c8ec9a612f9e3
1 // cs0672.cs: Member 'B.Test(string)' overrides obsolete member 'A.Test(string)'. Add the Obsolete attribute to 'B.Test(string)'
2 // Line: 15
3 // Compiler options: -warnaserror
5 using System;
7 public class A
9 [Obsolete ("Causes an error", true)]
10 public virtual void Test (string arg) {}
13 public class B: A
15 public override void Test (string arg) {}