public void Dispose(bool fDisposing) { if (this.HashValue != IntPtr.Zero) { Marshal.FreeCoTaskMem(this.HashValue); this.HashValue = IntPtr.Zero; } if (fDisposing) { if (this.MuiMapping != null) { this.MuiMapping.Dispose(true); this.MuiMapping = null; } GC.SuppressFinalize(this); } }
public void Dispose(bool fDisposing) { if (this.HashValue != IntPtr.Zero) { Marshal.FreeCoTaskMem(this.HashValue); this.HashValue = IntPtr.Zero; } if (!fDisposing) { return; } if (this.MuiMapping != null) { this.MuiMapping.Dispose(true); this.MuiMapping = (MuiResourceMapEntry)null; } GC.SuppressFinalize((object)this); }