a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
228 B
C#
21 lines
228 B
C#
// CS0122: `X.a.get' is inaccessible due to its protection level
|
|
// Line: 16
|
|
|
|
public class X {
|
|
private int a {
|
|
get {
|
|
return 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
internal class Y : X
|
|
{
|
|
int D (X x)
|
|
{
|
|
if (x.a == 2)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|