public bool Release() { if (IsNotAllocated || IsInvalid) { return(false); } else { Jem.DecrementRefCount(handle); DangerousRelease(); return(true); } }
public bool Release() { ThrowIfInvalid(); if (RefCount == 0) { return(false); } else { Jem.DecrementRefCount(_Ptr); return(true); } }