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)
124
if (
_stream
.CanSeek &&
_stream
.Position > 0)
235
_stream
.Close();
297
_stream
.Write(preamble);
320
_stream
.Write(byteBuffer.Slice(0, count));
325
_stream
.Flush();
345
public virtual Stream BaseStream =>
_stream
;
985
await
_stream
.WriteAsync(new ReadOnlyMemory<byte>(preamble), cancellationToken).ConfigureAwait(false);
995
await
_stream
.WriteAsync(new ReadOnlyMemory<byte>(byteBuffer, 0, count), cancellationToken).ConfigureAwait(false);
1003
await
_stream
.FlushAsync(cancellationToken).ConfigureAwait(false);