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-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
cs0191.cs
blob
b5c00dd658e2c93fb3b158d2f4b3d6c89a4c1dec
1
// cs0191.cs: A readonly field `X.a' cannot be assigned to (except in a constructor or a variable initializer)
2
// Line: 8
3
class
X
{
4
readonly int
a
;
5
6
void
Y
()
7
{
8
a
=
1
;
9
}
10
}
11
12