Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 23ee864

Browse files
jkotassafern
authored andcommitted
Fix up ConfiguredValueTaskAwaitable signature for new compiler checks (#15092)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
1 parent 3866bb6 commit 23ee864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/src/CoreLib/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void UnsafeOnCompleted(Action continuation) =>
7474

7575
/// <summary>Gets the task underlying the incomplete <see cref="_value"/>.</summary>
7676
/// <remarks>This method is used when awaiting and IsCompleted returned false; thus we expect the value task to be wrapping a non-null task.</remarks>
77-
(Task, bool) IConfiguredValueTaskAwaiter.GetTask() => (_value.AsTaskExpectNonNull(), _continueOnCapturedContext);
77+
(Task task, bool continueOnCapturedContext) IConfiguredValueTaskAwaiter.GetTask() => (_value.AsTaskExpectNonNull(), _continueOnCapturedContext);
7878
}
7979
}
8080

0 commit comments

Comments
 (0)