2010-04-15 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0619-41.cs
blob2527e65295d284077fcfb670a0a12648faece7ec
1 // cs0619-41.cs: `A.Filename' is obsolete: `Obsolete'
2 // Line: 8
4 class A: Error {
5 [System.ObsoleteAttribute ("Obsolete", true)]
6 public override string Filename {
7 set {
11 public static void Main () {}
14 public class Error {
15 public virtual string Filename {
16 set {
18 get {
19 return "aa";
24 class B {
25 void TT () {
26 new A ().Filename = "Filename";