a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
336 B
C#
18 lines
336 B
C#
// CS0219: The variable `o' is assigned but its value is never used
|
|
// Line: 10
|
|
// Compiler options: -warn:3 -warnaserror
|
|
|
|
public class MyClass2
|
|
{
|
|
static public bool b;
|
|
static public void Main ()
|
|
{
|
|
object o;
|
|
switch (b) {
|
|
case true:
|
|
o = "yo";
|
|
break;
|
|
}
|
|
}
|
|
}
|