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
2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
errors
/
cs0159-2.cs
blob
772185158e30f6b23e580b6b36cd243e3b1a757d
1
// CS0159: The label `case 20:' could not be found within the scope of the goto statement
2
// Line: 13
3
4
class
y
{
5
enum
X { A = 1, B = 1, C = 1 }
6
7
static void
Main
()
8
{
9
int
x
=
1
;
10
11
switch
(
x
){
12
case
1
:
break
;
13
case
2
:
goto case
20
;
14
}
15
}
16
}
17