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
2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0272.cs
blob
43e15a4d1e1e857383000f8b162b2728854c932d
1
// cs0272.cs: The property or indexer `P.Prop' cannot be used in this context because the set accessor is inaccessible
2
// Line: 19
3
4
class
P
5
{
6
public static int
Prop
7
{
8
get
{
9
return
4
;
10
}
11
private set
{}
12
}
13
}
14
15
public class
C
16
{
17
public static void
Main
()
18
{
19
P
.
Prop
=
453422
;
20
}
21
}