2 writes to _stream
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (2)
138_stream = stream; 191_stream = Stream.Null;
10 references to _stream
System.Private.CoreLib (10)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (10)
150if (_stream.CanSeek && _stream.Position > 0) 261_stream.Close(); 323_stream.Write(preamble); 346_stream.Write(byteBuffer.Slice(0, count)); 351_stream.Flush(); 371public virtual Stream BaseStream => _stream; 1007await _stream.WriteAsync(new ReadOnlyMemory<byte>(preamble), cancellationToken).ConfigureAwait(false); 1017await _stream.WriteAsync(new ReadOnlyMemory<byte>(byteBuffer, 0, count), cancellationToken).ConfigureAwait(false); 1025await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);