[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-async-74.cs
blob97bb7fd946cef6a944f22ccd080829a35db328a3
1 using System;
2 using System.Threading.Tasks;
4 class AwaitGotoBug
6 public async Task Test()
8 using ((IDisposable)null)
10 retry:
12 if (Equals(1, 2))
14 await Task.Yield();
15 goto retry;
17 else
19 await Task.Yield();
24 public static void Main ()