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

◆ FlushAsync()

override Task System.IO.StreamWriter.FlushAsync ( )
inlinevirtual

Reimplemented from System.IO.TextWriter.

Definition at line 775 of file StreamWriter.cs.

776 {
777 if (GetType() != typeof(StreamWriter))
778 {
779 return base.FlushAsync();
780 }
783 return _asyncWriteTask = FlushAsyncInternal(flushStream: true, flushEncoder: true);
784 }
StreamWriter(Stream stream)
Task FlushAsyncInternal(bool flushStream, bool flushEncoder, CancellationToken cancellationToken=default(CancellationToken))

References System.IO.StreamWriter._asyncWriteTask, System.IO.StreamWriter.CheckAsyncTaskInProgress(), System.IO.StreamWriter.FlushAsyncInternal(), and System.IO.StreamWriter.ThrowIfDisposed().

Referenced by System.IO.StreamWriter.DisposeAsyncCore().