2 writes to stream
mscorlib (2)
system\io\streamwriter.cs (2)
199
this.
stream
= streamArg;
272
stream
= null;
25 references to stream
mscorlib (25)
system\io\streamwriter.cs (25)
208
if (
stream
.CanSeek &&
stream
.Position > 0)
242
if (
stream
!= null) {
244
if (disposing || (LeaveOpen &&
stream
is __ConsoleStream))
262
if (!LeaveOpen &&
stream
!= null) {
269
stream
.Close();
299
if (
stream
== null)
310
stream
.Write(preamble, 0, preamble.Length);
316
stream
.Write(byteBuffer, 0, count);
321
stream
.Flush();
339
get { return
stream
; }
459
if (
stream
== null)
523
if (
stream
== null)
617
if (
stream
== null)
695
if (
stream
== null)
718
if (
stream
== null)
741
if (
stream
== null)
774
if (
stream
== null)
801
if (
stream
== null)
828
this.encoding, this.encoder, this.byteBuffer, this.
stream
);
883
if (streamWriter.charPos != 0 && streamWriter.
stream
!= null && streamWriter.
stream
!= Stream.Null) {
884
String fileName = (streamWriter.
stream
is FileStream) ? ((FileStream)streamWriter.
stream
).NameInternal : "<unknown>";
890
String message = Environment.GetResourceString("IO_StreamWriterBufferedDataLost", streamWriter.
stream
.GetType().FullName, fileName, callStack);