mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
16 lines
177 B
C#
Executable File
16 lines
177 B
C#
Executable File
// cs0200: can not assign to property X.P -- it is readonly
|
|
// line: 12
|
|
class X {
|
|
static int P {
|
|
get {
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
static int Main ()
|
|
{
|
|
P = 10;
|
|
return 1;
|
|
}
|
|
}
|