Guest User

Untitled

a guest
Nov 16th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. // System.IO.FileStream
  2. [SecuritySafeCritical]
  3. public virtual void Flush(bool flushToDisk)
  4. {
  5.     if (this._handle.IsClosed)
  6.     {
  7.         __Error.FileNotOpen();
  8.     }
  9.     this.FlushInternalBuffer();
  10.     if (flushToDisk && this.CanWrite)
  11.     {
  12.         this.FlushOSBuffer();
  13.     }
  14. }
Add Comment
Please, Sign In to add comment