summaryrefslogtreecommitdiff
path: root/mcs/tests/test-debug-14.cs
blob: 1cde8f000a0ad08cdbca695c66eec278a090f76c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;

class C
{
	public static void Main ()
	{
	}
	
	void Test_1()
	{
		Action a =
			() =>
		Console.WriteLine ();
	}
	
	void Test_2()
	{
		Action a =
			() =>
		{
			Console.WriteLine ();
		};
	}
	
	void Test_3()
	{
		Action a = delegate
		{
			Console.WriteLine ();
		};
	}
	
	void Test_Capturing_1(int arg)
	{
		Func<int> a =
			() => arg;
	}
}