Merge pull request #3565 from vargaz/no-free-imt-thunks
[mono.git] / mcs / errors / cs0809.cs
1 // CS0809: Obsolete member `B.Property' overrides non-obsolete member `A.Property'
2 // Line: 17
3 // Compiler options: -warnaserror -warn:4
4
5 using System;
6
7 class A
8 {
9         public virtual int Property {
10                 set { }
11         }
12 }
13
14 class B : A
15 {
16         [Obsolete ("TEST")]
17         public override int Property {
18                 set { }
19         }
20 }