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-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0152-2.cs
blob
368be58f22d9679c15f709a77cf251e3de7582bc
1
// CS0152: The label `case 2:' already occurs in this switch statement
2
// Line: 19
3
4
using
System
;
5
6
enum
E
7
{
8
Foo
=
2
9
}
10
11
class
X
12
{
13
void
Foo
(
E e
)
14
{
15
switch
(
e
)
16
{
17
case
E
.
Foo
:
18
break
;
19
case
E
.
Foo
:
20
break
;
21
}
22
}
23
}