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-06-05 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0445-2.cs
blob
48a6b018d3f43ecf3e9ec263c87b0d683f844b2b
1
// cs0445.cs: Cannot modify the result of an unboxing conversion
2
// Line: 10
3
4
struct
S
5
{
6
public int
val { set {}
}
7
8
public void
Do
(
object
o
)
9
{
10
((
S
)
o
).
val
=
4
;
11
}
12
}
13