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-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0219-2.cs
blob
41f70b6e6731278558c17eacc7d10b4f1b0fa8c8
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
switch
(
b
) {
12
case true
:
13
o
=
"yo"
;
14
break
;
15
}
16
}
17
}