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
Merge pull request #1821 from iainx/replace-getline
[mono-project.git]
/
mcs
/
errors
/
cs0191.cs
blob
b40f01ecaa4d7a809fa176b7b827613f29e2e3d4
1
// CS0191: 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