[mcs] Reset also all partial parts current-type
[mono-project.git] / mcs / errors / cs8070.cs
blob17fc12ea015d84bcaba263fb48a8b7fab043943d
1 // CS8070: Control cannot fall out of switch statement through final case label `case 3:'
2 // Line: 20
4 public class Foo
6 public static void Main()
8 int a=5;
9 int b=10;
10 int c;
12 switch (a)
14 case 1: c=a+b;
15 return;
17 case 2: c=a-b;
18 return;
20 case 3: c=a*b;