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