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
/
cs0429-3.cs
blob
b8572b5ba8b1cb8bc58a335fc63f3e993d0cb7a3
1
// CS0429: Unreachable expression code detected
2
// Line: 9
3
// Compiler options: -warn:4 -warnaserror
4
5
class
Main
6
{
7
public void
Method
(
int
i
)
8
{
9
var
x
=
true
?
1
:
i
;
10
}
11
}