6 writes to _stream
System.Text.Json (6)
System\Text\Json\Writer\Utf8JsonWriter.cs (6)
242_stream = utf8Json; 304_stream = utf8Json; 337_stream = null; 347_stream = null; 464_stream = null; 495_stream = null;
12 references to _stream
System.Text.Json (12)
System\Text\Json\Writer\Utf8JsonWriter.cs (12)
354Debug.Assert(_output is null && _stream is null && _arrayBufferWriter is null); 381if (_stream == null) 407if (_stream != null) 416_stream.Write(_arrayBufferWriter.WrittenSpan); 424_stream.Flush(); 452if (_stream == null) 483if (_stream == null) 516if (_stream != null) 524await _stream.WriteAsync(_arrayBufferWriter.WrittenMemory, cancellationToken).ConfigureAwait(false); 529await _stream.FlushAsync(cancellationToken).ConfigureAwait(false); 1173if (_stream != null) 1208if (_stream != null)