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