3 writes to _writer
System.Private.Xml (3)
System\Xml\Core\XmlEncodedRawTextWriter.cs (2)
116
this.
_writer
= writer;
757
_writer
= null;
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (1)
124
_writer
= null!;
13 references to _writer
System.Private.Xml (13)
System\Xml\Core\XmlEncodedRawTextWriter.cs (6)
740
else if (
_writer
!= null)
744
_writer
.Flush();
752
_writer
.Dispose();
776
_writer
?.Flush();
791
Debug.Assert(_stream != null ||
_writer
!= null);
820
_writer
!.Write(_bufChars, 1, _bufPos - 1);
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (7)
107
else if (
_writer
!= null)
111
await
_writer
.FlushAsync().ConfigureAwait(false);
119
await
_writer
.DisposeAsync().ConfigureAwait(false);
606
else if (
_writer
!= null)
608
await
_writer
.FlushAsync().ConfigureAwait(false);
623
Debug.Assert(_stream != null ||
_writer
!= null);
652
await
_writer
!.WriteAsync(_bufChars.AsMemory(1, _bufPos - 1)).ConfigureAwait(false);