Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs1632-4.cs
bloba9127d5339374c4b4dc754996c843bb6b8b7d9e5
1 // CS1632: Control cannot leave the body of an anonymous method
2 // Line: 14
4 using System;
6 class X
8 public static void Main ()
10 int b = 0;
11 switch (b) {
12 case 1:
13 Action a = () => {
14 goto case 2;
17 break;
18 case 2:
19 break;