Do not remap framework assembly if it's version is higher than the runtime version
[mono.git] / mcs / tests / test-async-01.cs
index 91c7d722083932e0b53bd560a259dcb97fede9ff..cc9271c9353dbd276f45c69281eb1e27e5abf925 100644 (file)
@@ -1,4 +1,3 @@
-// Compiler options: -langversion:future
 using System;
 using System.Threading;
 using System.Threading.Tasks;
@@ -35,7 +34,7 @@ class Program
        {
                pos = 1;
 
-               await RunAsync ();
+               await RunAsync ().ConfigureAwait (false);
 
                if (pos != 3)
                        throw new ApplicationException (pos.ToString ());