6 writes to _stream
System.Text.Json (6)
System\Text\Json\Writer\Utf8JsonWriter.cs (6)
242_stream = utf8Json; 309_stream = utf8Json; 365_stream = null; 393_stream = null; 510_stream = null; 541_stream = null;
12 references to _stream
System.Text.Json (12)
System\Text\Json\Writer\Utf8JsonWriter.cs (12)
400Debug.Assert(_output is null && _stream is null && _arrayBufferWriter is null); 427if (_stream is null) 453if (_stream is not null) 462_stream.Write(_arrayBufferWriter.WrittenSpan); 470_stream.Flush(); 498if (_stream is null) 529if (_stream is null) 562if (_stream is not null) 570await _stream.WriteAsync(_arrayBufferWriter.WrittenMemory, cancellationToken).ConfigureAwait(false); 575await _stream.FlushAsync(cancellationToken).ConfigureAwait(false); 1219if (_stream is not null) 1254if (_stream is not null)