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