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

using System;

class X
{
	public static void Main ()
	{
		while (true) {
			Action a = () => {
				break;
			};
		}
	}
}