Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / tests / test-async-53.cs
1 using System;
2
3 class Y
4 {
5 }
6
7 class X
8 {
9         public event Action<int, string> E;
10
11         void Foo ()
12         {
13                 var nc = new Y ();
14
15                 E += async (arg1, arg2) => {
16                         nc = null;
17                 };
18
19                 E (1, "h");
20         }
21
22         public static void Main ()
23         {
24                 var x = new X ();
25                 x.Foo ();
26         }
27 }