projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* HttpChannel.cs, HttpClientChannel.cs, HttpHelper.cs, HttpServer.cs,
[mono.git]
/
mcs
/
errors
/
cs0159.cs
1
// cs0159.cs: No default target for goto default
2
// Line:
3
4
class X {
5
6
static int m (int n)
7
{
8
switch (n){
9
case 0:
10
goto default;
11
12
case 1:
13
return 1;
14
}
15
16
return 10;
17
}
18
19
static void Main ()
20
{
21
m (1);
22
}
23
}