83 if (encoding !=
null && stream !=
null)
85 this.
Init(stream, encoding, bufferSize, leaveOpen);
119 if (encoding ==
null)
123 if (path._stringLength != 0)
155 this.
Flush(
true,
true);
163 this.
Flush(
true,
true);
198 this.
Flush(
true, num != 0
L);
263 public override void Write(
char[] buffer)
325 while (value ==
null)
class f__AnonymousType0<< Count > j__TPar
static void SuppressFinalize(object obj)
void Flush(bool flushStream, bool flushEncoder)
override void Dispose(bool disposing)
override void Write(char[] buffer, int index, int count)
bool _haveWrittenPreamble
StreamWriter(Stream stream, Encoding encoding, int bufferSize, bool leaveOpen)
static Encoding UTF8NoBOM
static void ThrowAsyncIOInProgress()
void CheckAsyncTaskInProgress()
override void Write(char[] buffer)
static new readonly StreamWriter Null
override void WriteLine(string value)
StreamWriter(Stream stream)
override void Write(char value)
StreamWriter(Stream stream, Encoding encoding)
void Init(Stream streamArg, Encoding encodingArg, int bufferSize, bool shouldLeaveOpen)
StreamWriter(string path, bool append)
StreamWriter(string path, bool append, Encoding encoding, int bufferSize)
StreamWriter(string path)
StreamWriter(Stream stream, Encoding encoding, int bufferSize)
override void Write(string value)
void WriteSpan(ReadOnlySpan< char > buffer, bool appendNewLine)
static byte Min(byte val1, byte val2)
static Encoding UTF8Unmarked
static void ThrowArgumentOutOfRangeException()