Updated with review feedback.
[mono.git] / mcs / errors / cs0200-5.cs
1 // CS0200: Property or indexer `C.S' cannot be assigned to (it is read-only)
2 // Line: 10
3
4 class C
5 {
6         public static int S { get; }
7
8         public C ()
9         {
10                 S = 3;
11         }
12 }