repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix indentation, spacing.
[mono-project.git]
/
mcs
/
errors
/
cs0163.cs
blob
dfdd9c122507d2609fd4907924418f57372fa945
1
// CS0163: Control cannot fall through from one case label `case 1:' to another
2
// Line: 14
3
4
using
System
;
5
using
System
.
Collections
.
Generic
;
6
7
static class
C
8
{
9
public static
IEnumerable
<
int
>
Test
(
int
key
)
10
{
11
switch
(
key
) {
12
case
1
:
13
yield return
0
;
14
case
2
:
15
yield return
2
;
16
default
:
17
throw new
ArgumentOutOfRangeException
(
"symbol:"
+
key
);
18
}
19
}
20
}