6 writes to _stream
System.Text.Json (6)
System\Text\Json\Writer\Utf8JsonWriter.cs (6)
142
_stream
= utf8Json;
204
_stream
= utf8Json;
237
_stream
= null;
247
_stream
= null;
366
_stream
= null;
397
_stream
= null;
12 references to _stream
System.Text.Json (12)
System\Text\Json\Writer\Utf8JsonWriter.cs (12)
254
Debug.Assert(_output is null &&
_stream
is null && _arrayBufferWriter is null);
278
if (
_stream
== null)
304
if (
_stream
!= null)
313
_stream
.Write(_arrayBufferWriter.WrittenSpan);
326
_stream
.Flush();
354
if (
_stream
== null)
385
if (
_stream
== null)
418
if (
_stream
!= null)
427
await
_stream
.WriteAsync(_arrayBufferWriter.WrittenMemory, cancellationToken).ConfigureAwait(false);
440
await
_stream
.FlushAsync(cancellationToken).ConfigureAwait(false);
1073
if (
_stream
!= null)
1108
if (
_stream
!= null)