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
2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git]
/
errors
/
cs0122-2.cs
blob
d3ffc2b6e014842c9c922a796283b7cf61acce5f
1
// cs0122-2.cs: `A.prop' is inaccessible due to its protection level
2
// Line: 19
3
// Compiler options: -t:library
4
5
class
A
6
{
7
int
i
;
8
9
int
prop
10
{
11
set
{ i = value; }
12
}
13
}
14
15
class
B
:
A
16
{
17
void
M
()
18
{
19
prop
=
2
;
20
}
21
}