Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
 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);
 }