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