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