-// Compiler options: -langversion:future
using System;
using System.Threading;
using System.Threading.Tasks;
static int pos;
- static int Main ()
+ public static int Main ()
{
pos = 0;
TestAsync ();
{
pos = 1;
- await RunAsync ();
+ await RunAsync ().ConfigureAwait (false);
if (pos != 3)
throw new ApplicationException (pos.ToString ());