protected override void EndProcessing() { if (this.resourceReader != null) { this.resourceReader.Dispose(); this.resourceReader = null; } }
protected override void EndProcessing() { if (this.resourceReader == null) { return; } this.resourceReader.Dispose(); this.resourceReader = (RegistryStringResourceIndirect)null; }
public void Dispose() { if (!this._disposed) { if (this.resourceReader != null) { this.resourceReader.Dispose(); this.resourceReader = null; } GC.SuppressFinalize(this); } this._disposed = true; }
public void Dispose() { using (PSSnapInCommandBase.tracer.TraceDispose((object)this)) { if (!this._disposed) { if (this.resourceReader != null) { this.resourceReader.Dispose(); this.resourceReader = (RegistryStringResourceIndirect)null; } GC.SuppressFinalize((object)this); } this._disposed = true; } }