mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
21 lines
304 B
C#
21 lines
304 B
C#
// cs0272.cs: The property or indexer `P.Prop' cannot be used in this context because the set accessor is inaccessible
|
|
// Line: 19
|
|
|
|
class P
|
|
{
|
|
public static int Prop
|
|
{
|
|
get {
|
|
return 4;
|
|
}
|
|
private set {}
|
|
}
|
|
}
|
|
|
|
public class C
|
|
{
|
|
public static void Main ()
|
|
{
|
|
P.Prop = 453422;
|
|
}
|
|
} |