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-17 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0198.cs
blob
05bf62d082b4964da12050d5136fda6b25d32887
1
// cs0198.cs: A static readonly field `X.a' cannot be assigned to (except in a static constructor or a variable initializer)
2
// Line: 8
3
class
X
{
4
static readonly int
a
;
5
6
static void
Y
()
7
{
8
a
=
1
;
9
}
10
}
11
12