projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2003-02-05 Alan Tam <Tam@suiLung.com>
[mono.git]
/
mcs
/
errors
/
cs0163.cs
1
// cs0163.cs: Control cannot fall through from one case label to another
2
// Line: 17
3
4
5
public class Foo
6
{
7
public static void Main()
8
{
9
int a=5;
10
int b=10;
11
int c;
12
13
switch (a)
14
{
15
case 1: c=a+b;
16
return;
17
18
case 2: c=a-b;
19
return;
20
21
case 3: c=a*b;
22
}
23
}
24
}