3 writes to _stream
System.Private.Xml (3)
System\Xml\Core\XmlUtf8RawTextWriter.cs (2)
101
_stream
= stream;
644
_stream
= null!;
System\Xml\Core\XmlUtf8RawTextWriterAsync.cs (1)
102
_stream
= null!;
13 references to _stream
System.Private.Xml (13)
System\Xml\Core\XmlUtf8RawTextWriter.cs (6)
627
if (
_stream
!= null)
631
_stream
.Flush();
639
_stream
.Dispose();
656
_stream
?.Flush();
672
Debug.Assert(
_stream
!= null);
673
_stream
.Write(_bufBytes, 1, _bufPos - 1);
System\Xml\Core\XmlUtf8RawTextWriterAsync.cs (7)
85
if (
_stream
!= null)
89
await
_stream
.FlushAsync().ConfigureAwait(false);
97
await
_stream
.DisposeAsync().ConfigureAwait(false);
539
if (
_stream
!= null)
541
await
_stream
.FlushAsync().ConfigureAwait(false);
558
Debug.Assert(
_stream
!= null);
559
await
_stream
.WriteAsync(_bufBytes.AsMemory(1, _bufPos - 1)).ConfigureAwait(false);