projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add some overloads from Alp, and fix some 1.4 signatures
[mono.git]
/
mcs
/
errors
/
cs0159.cs
1
// CS0159: The label `default:' could not be found within the scope of the goto statement
2
// Line: 10
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
}