2010-01-03 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / errors / cs0163.cs
blobbdf2f9b8a580e8065e19b800f7ab97c1cf92bb21
1 // cs0163.cs: Control cannot fall through from one case label to another
2 // Line: 17
5 public class Foo
7 public static void Main()
9 int a=5;
10 int b=10;
11 int c;
13 switch (a)
15 case 1: c=a+b;
16 return;
18 case 2: c=a-b;
19 return;
21 case 3: c=a*b;