[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-async-40.cs
blob5d8767dd617c02a3bc6f6e6025aa0f09a7d2dc45
1 using System;
2 using System.Threading.Tasks;
4 class Program
6 public class C
8 public void M ()
13 public static void F (Action<C> a)
15 a (new C ());
18 public static void Main ()
20 F (async (c) => {
21 await Task.Run (() => { });
22 c.M ();
23 });