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
/
cs0219-3.cs
blob
15fd2eedc6579610e5cbb2fc0f55a77520c7a3d7
1
// CS0219: The variable `o' is assigned but its value is never used
2
// Line: 10
3
// Compiler options: -warn:3 -warnaserror
4
5
public class
MyClass2
6
{
7
static public bool
b
;
8
static public void
Main
()
9
{
10
object
o
;
11
if
(
b
)
12
o
=
null
;
13
}
14
}