public void Free()
 {
     if (this._handle != (IntPtr)0)
     {
         IntPtr handle = this._handle;
         this._handle = (IntPtr)0;
         DependentHandle.nFree(handle);
     }
 }
Exemplo n.º 2
0
        public void Free()
        {
            if (!(this._handle != (IntPtr)0))
            {
                return;
            }
            IntPtr dependentHandle = this._handle;

            this._handle = (IntPtr)0;
            DependentHandle.nFree(dependentHandle);
        }