repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* MSBuild.cs (Execute): Don't share target output items,
[mcs.git]
/
errors
/
cs0159.cs
blob
882be581b5fb8cbc574d4c5e21ee170dca9f841a
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
}