[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs8070.cs
1 // CS8070: Control cannot fall out of switch statement through final case label `case 3:'
2 // Line: 20
3
4 public class Foo
5 {
6         public static void Main()
7         {
8                 int a=5;
9                 int b=10;
10                 int c;
11                 
12                 switch (a)
13                 {
14                         case 1: c=a+b;
15                                 return;
16
17                         case 2: c=a-b;
18                                 return;
19
20                         case 3: c=a*b;
21                 }
22         }
23 }