protected virtual void Dispose(bool disposing) { if (IsDisposed) { return; //skip redundant calls } if (disposing) { _safeByteCollection.Dispose(); } IsDisposed = true; }
protected override void DisposeManagedResources() { _safeByteCollection?.Dispose(); }