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
2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0271.cs
blob
710fc429567b774dc3b7b3e3db9e9b6d57b8bf78
1
// cs0271.cs: The property or indexer `P.Prop' cannot be used in this context because the get accessor is inaccessible
2
// Line: 19
3
4
class
P
5
{
6
public static int
Prop
7
{
8
private get
{
9
return
4
;
10
}
11
set
{}
12
}
13
}
14
15
public class
C
16
{
17
public static int
Main
()
18
{
19
return
P
.
Prop
;
20
}
21
}