Files
2010-07-28 13:53:46 +01:00

17 lines
195 B
C#

// CS0200: Property or indexer `X.P' cannot be assigned to (it is read-only)
// Line: 13
class X {
static int P {
get {
return 1;
}
}
static int Main ()
{
P = 10;
return 1;
}
}