repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs0122-2.cs
blob
e5009ca75a9ef25ce056d01b0078a2edf3ced1dc
1
// CS0122: `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
}