summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1632-3.cs
blob: b7e457b57c4cc6da95432e96e9d5fbb20209fcab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// CS1632: Control cannot leave the body of an anonymous method
// Line: 14

using System;

class X
{
	public static void Main ()
	{
		int b = 0;
		switch (b) {
			case 1:
			Action a = () => {
				break;
			};
			
			break;
		}
	}
}