a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
298 B
C#
21 lines
298 B
C#
// CS0271: 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;
|
|
}
|
|
} |