public override void Flush() { if (!CanSeek) { throw new Exception(SR.GetStreamIsClosed); } _view.Flush((UIntPtr)Capacity); }
public void Flush() { if (!IsOpen) { throw new ObjectDisposedException(nameof(MemoryMappedViewAccessor), SR.ObjectDisposed_ViewAccessorClosed); } unsafe { _view.Flush((UIntPtr)Capacity); } }