Esempio n. 1
0
 public void RestoreFilePosition(FilePosition pos)
 {
     this.AssertNotDisposed();
     if (pos == null)
     {
         throw new ArgumentNullException("value");
     }
     UnixMarshal.ThrowExceptionForLastErrorIf(Stdlib.fsetpos(this.file, pos));
     GC.KeepAlive(this);
 }