Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Write() [15/19]

override void System.IO.StreamWriter.Write ( string format,
params object?[] arg )
inlinevirtual

Reimplemented from System.IO.TextWriter.

Definition at line 504 of file StreamWriter.cs.

505 {
506 if (GetType() == typeof(StreamWriter))
507 {
508 if (arg == null)
509 {
510 throw new ArgumentNullException((format == null) ? "format" : "arg");
511 }
512 WriteFormatHelper(format, new ParamsArray(arg), appendNewLine: false);
513 }
514 else
515 {
516 base.Write(format, arg);
517 }
518 }
StreamWriter(Stream stream)
void WriteFormatHelper(string format, ParamsArray args, bool appendNewLine)

References System.format, and System.IO.StreamWriter.WriteFormatHelper().