private void ThrowIfInvalidArchive() { if (_archive == null) throw new InvalidOperationException(SR.DeletedEntry); _archive.ThrowIfDisposed(); }