2010-04-01 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0672-3.cs
blob5d335f0eca651f710f2b2ae02349af130d7f1675
1 // cs0672-3.cs: Member `B.Warning' overrides obsolete member `A.Warning'. Add the Obsolete attribute to `B.Warning'
2 // Line: 15
3 // Compiler options: -warnaserror
5 using System;
7 public class A {
8 [Obsolete()]
9 public virtual string Warning {
10 get { return ""; }
14 public class B : A {
15 public override string Warning {
16 get { return ""; }