-// Compiler options: -langversion:future
-
using System;
using System.Threading;
using System.Threading.Tasks;
throw new ApplicationException ("3");
return l;
- });
+ }).ConfigureAwait (false);
var r = f ("a");
mre_l.Set ();
await Task.Factory.StartNew (() => {
if (!mre_l.WaitOne (3000))
throw new ApplicationException ("3");
- });
+ }).ConfigureAwait (false);
var rr = ff ();
mre_l.Set ();
if (!mre_l.WaitOne (3000))
throw new ApplicationException ("4");
mre.Set ();
- }, CancellationToken.None);
+ }, CancellationToken.None).ConfigureAwait (false);
a ();
mre_l.Set ();