protected override void Dispose(bool disposing) { if (hash != null) { hash.Dispose(); hash = null; // there's no unmanaged resources (so disposing isn't used) } }
protected override void Dispose(bool disposing) { if (disposing) { if (hash != null) { hash.Dispose(); hash = null; } } base.Dispose(disposing); }