a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
195 B
C#
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;
|
|
}
|
|
}
|