projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bump API snapshot submodule
[mono.git]
/
mcs
/
errors
/
cs0165-25.cs
1
// CS0165: Use of unassigned local variable `trial'
2
// Line: 18
3
4
using System;
5
6
class Test
7
{
8
public static void Main (string[] args)
9
{
10
bool trial;
11
string action = "add_trial";
12
13
switch (action) {
14
case "add_trial":
15
trial = true;
16
goto case "add_to_project";
17
case "add_to_project":
18
Console.WriteLine (trial);
19
break;
20
case "test":
21
break;
22
}
23
}
24
}