Merge pull request #3678 from mono/seq-read
[mono.git] / mcs / errors / cs0200.cs
1 // CS0200: Property or indexer `X.P' cannot be assigned to (it is read-only)
2 // Line: 13
3
4 class X {
5         static int P {
6                 get {
7                         return 1;
8                 }
9         }
10
11         static int Main ()
12         {
13                 P = 10;
14                 return 1;
15         }
16 }