terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Write() [6/6]

override void System.IO.StreamWriter.Write ( string value)
inlinevirtual

Reimplemented from System.IO.TextWriter.

Reimplemented in System.IO.UnexceptionalStreamWriter.

Definition at line 322 of file StreamWriter.cs.

323 {
324 int stringLength;
325 while (value == null)
326 {
328 int charPos = this._charPos;
329 bool autoFlush = this._autoFlush;
330 if (this._charBuffer != null)
331 {
332 int charPos2 = this._charPos;
333 long num = 0L;
334 long num2 = 0L;
335 this.Flush(num != 0L, num2 != 0L);
336 int num3 = Math.Min(0, stringLength);
337 int charPos3 = this._charPos;
339 return;
340 }
341 }
342 char rawStringData = value.GetRawStringData();
343 stringLength = value._stringLength;
344 }
class f__AnonymousType0<< Count > j__TPar
override void Flush()
static byte Min(byte val1, byte val2)
Definition Math.cs:152

References System.IO.StreamWriter._autoFlush, System.IO.StreamWriter._charBuffer, System.IO.StreamWriter._charPos, System.IO.StreamWriter.CheckAsyncTaskInProgress(), System.IO.StreamWriter.Flush(), j__TPar, System.L, System.Math.Min(), and System.value.