projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7596a4fceae1d81e68bf8eb4759dfdc805682510
[mono.git]
/
mcs
/
errors
/
cs0163.cs
1
// CS0163: 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
}