Merge pull request #5560 from kumpera/wasm-work-p3
[mono.git] / mcs / tests / test-debug-14.cs
1 using System;
2
3 class C
4 {
5         public static void Main ()
6         {
7         }
8         
9         void Test_1()
10         {
11                 Action a =
12                         () =>
13                 Console.WriteLine ();
14         }
15         
16         void Test_2()
17         {
18                 Action a =
19                         () =>
20                 {
21                         Console.WriteLine ();
22                 };
23         }
24         
25         void Test_3()
26         {
27                 Action a = delegate
28                 {
29                         Console.WriteLine ();
30                 };
31         }
32         
33         void Test_Capturing_1(int arg)
34         {
35                 Func<int> a =
36                         () => arg;
37         }
38 }