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