[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-async-48.cs
bloba0aefb1cc038944182e562d6a46f860de3ec7a86
1 using System.Threading.Tasks;
2 using System;
4 public class App
6 X _x = new X ();
8 public async Task Test ()
10 await Task.Run (new Func<Task> (async () => _x.ToString ()));
14 class X
16 public static void Main ()
18 var app = new App ();
19 app.Test ().Wait ();