repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2007-03-09 Chris Toshok <toshok@ximian.com>
[mcs.git]
/
errors
/
cs0122-9.cs
blob
cd80d6fb0ed0c74f7410e4110e47157f448f5d8c
1
// cs0122-9.cs: `X.a' is inaccessible due to its protection level
2
// Line: 11
3
4
public class
X
{
5
private int
a
{
6
get
{
7
return
1
;
8
}
9
}
10
}
11
12
internal class
Y
:
X
{
13
14
int
D
(
X x
)
15
{
16
if
(
x
.
a
==
2
)
17
return
0
;
18
return
0
;
19
}
20
21
static void
Main
()
22
{
23
}
24
}
25
26