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-03-10 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
cs1648.cs
blob
2cd5bde8edabf6f204660db00276ac0ec4532901
1
// cs1648.cs: Members of readonly field `C.s' cannot be modified (except in a constructor or a variable initializer)
2
// Line: 13
3
4
struct
S
{
5
public int
x
;
6
}
7
8
class
C
{
9
readonly
S s
;
10
11
public void
Test
()
12
{
13
s
.
x
=
42
;
14
}
15
}