6 writes to _stream
System.Text.Json (6)
System\Text\Json\Writer\Utf8JsonWriter.cs (6)
242_stream = utf8Json; 312_stream = utf8Json; 366_stream = null; 394_stream = null; 511_stream = null; 542_stream = null;
12 references to _stream
System.Text.Json (12)
System\Text\Json\Writer\Utf8JsonWriter.cs (12)
401Debug.Assert(_output is null && _stream is null && _arrayBufferWriter is null); 428if (_stream is null) 454if (_stream is not null) 463_stream.Write(_arrayBufferWriter.WrittenSpan); 471_stream.Flush(); 499if (_stream is null) 530if (_stream is null) 563if (_stream is not null) 571await _stream.WriteAsync(_arrayBufferWriter.WrittenMemory, cancellationToken).ConfigureAwait(false); 576await _stream.FlushAsync(cancellationToken).ConfigureAwait(false); 1220if (_stream is not null) 1255if (_stream is not null)