Fix build break
authorJan Kotas <jkotas@microsoft.com>
Thu, 24 Oct 2019 15:32:23 +0000 (08:32 -0700)
committerJan Kotas <jkotas@microsoft.com>
Thu, 24 Oct 2019 22:41:58 +0000 (15:41 -0700)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/cbe4a98371c29a4245418af70dfef5e4e6bd636c

src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncTaskMethodBuilderT.cs

index e577b26..043a133 100644 (file)
@@ -395,7 +395,7 @@ namespace System.Runtime.CompilerServices
             // it will have a copy of all the slots from its parent. It will add another hundred(s) bytes
             // per each async method in CoreRT / ProjectN binaries without adding much value. Avoid
             // generating this extra code until a better solution is implemented.
-            return new AsyncStateMachineBox<IAsyncStateMachine>());
+            return new AsyncStateMachineBox<IAsyncStateMachine>();
 #else
             return AsyncMethodBuilderCore.TrackAsyncMethodCompletion ?
                 CreateDebugFinalizableAsyncStateMachineBox<IAsyncStateMachine>() :