Updated with review feedback.
[mono.git] / mcs / errors / cs1632-3.cs
1 // CS1632: Control cannot leave the body of an anonymous method
2 // Line: 14
3
4 using System;
5
6 class X
7 {
8         public static void Main ()
9         {
10                 int b = 0;
11                 switch (b) {
12                         case 1:
13                         Action a = () => {
14                                 break;
15                         };
16                         
17                         break;
18                 }
19         }
20 }