* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git] / mcs / errors / cs0200.cs
1 // cs0200.cs: Property or indexer `X.P' cannot be assigned to (it is read only)
2 // Line: 12
3 class X {
4         static int P {
5                 get {
6                         return 1;
7                 }
8         }
9
10         static int Main ()
11         {
12                 P = 10;
13                 return 1;
14         }
15 }