2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / errors / cs0200.cs
blob86e385a5d24716048ae14e11be6f04c0ec9b57d0
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;
10 static int Main ()
12 P = 10;
13 return 1;