2 writes to PendingTask
System.Text.Json (2)
System\Text\Json\Serialization\Converters\Collection\IAsyncEnumerableOfTConverter.cs (2)
85
state.
PendingTask
= null;
130
state.
PendingTask
= moveNextTask.AsTask();
9 references to PendingTask
System.Text.Json (9)
System\Text\Json\Serialization\Converters\Collection\IAsyncEnumerableOfTConverter.cs (4)
82
Debug.Assert(state.
PendingTask
is Task<bool> && state.
PendingTask
.IsCompleted);
83
moveNextTask = new ValueTask<bool>((Task<bool>)state.
PendingTask
);
129
Debug.Assert(state.
PendingTask
is null);
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (4)
177
Debug.Assert(state.
PendingTask
is not null);
199
if (state.
PendingTask
is not null)
203
await state.
PendingTask
.ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing);
317
Debug.Assert(state.
PendingTask
== null);
System\Text\Json\Serialization\WriteStackFrame.cs (1)
28
/// stored in the <see cref="WriteStack.
PendingTask
"/> property.