blob: 8ffe58681bea2aa0a8bfea7d2a1ca475ce8a9a0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// CS0165: Use of unassigned local variable `trial'
// Line: 18
using System;
class Test
{
public static void Main (string[] args)
{
bool trial;
string action = "add_trial";
switch (action) {
case "add_trial":
trial = true;
goto case "add_to_project";
case "add_to_project":
Console.WriteLine (trial);
break;
case "test":
break;
}
}
}
|