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-03-07 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
cs0200.cs
blob
86e385a5d24716048ae14e11be6f04c0ec9b57d0
1
// cs0200.cs: Property or indexer `X.P' cannot be assigned to (it is read only)
2
// Line: 12
3
class
X
{
4
static int
P
{
5
get
{
6
return
1
;
7
}
8
}
9
10
static int
Main
()
11
{
12
P
=
10
;
13
return
1
;
14
}
15
}