2 writes to _stream
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (2)
112_stream = stream; 165_stream = Stream.Null;
10 references to _stream
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (10)
124if (_stream.CanSeek && _stream.Position > 0) 235_stream.Close(); 297_stream.Write(preamble); 320_stream.Write(byteBuffer.Slice(0, count)); 325_stream.Flush(); 345public virtual Stream BaseStream => _stream; 985await _stream.WriteAsync(new ReadOnlyMemory<byte>(preamble), cancellationToken).ConfigureAwait(false); 995await _stream.WriteAsync(new ReadOnlyMemory<byte>(byteBuffer, 0, count), cancellationToken).ConfigureAwait(false); 1003await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);