[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs0612-3.cs
1 // CS0612: `A.Value' is obsolete
2 // Line: 13
3 // Compiler options: -warnaserror
4
5 class A {
6     [System.Obsolete ("")]
7     int Value {
8         set {
9         }
10     }
11     
12     public A () {
13         Value = 4;
14     }
15 }