blob: 246006d0f0a5db3af740a48ce530955369b6dfd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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;
}
}
|