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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs0445-2.cs
blob
fa699a17789e8694803dcb8f128b11631caa6d3e
1
// CS0445: 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