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)
627if (_stream != null) 631_stream.Flush(); 639_stream.Dispose(); 656_stream?.Flush(); 672Debug.Assert(_stream != null); 673_stream.Write(_bufBytes, 1, _bufPos - 1);
System\Xml\Core\XmlUtf8RawTextWriterAsync.cs (7)
85if (_stream != null) 89await _stream.FlushAsync().ConfigureAwait(false); 97await _stream.DisposeAsync().ConfigureAwait(false); 539if (_stream != null) 541await _stream.FlushAsync().ConfigureAwait(false); 558Debug.Assert(_stream != null); 559await _stream.WriteAsync(_bufBytes.AsMemory(1, _bufPos - 1)).ConfigureAwait(false);