public final boolean tryIncRef() {int count;while ((count = refCount.get()) > 0) {if (refCount.compareAndSet(count, count+1)) {return true;}}return false;}

public bool TryIncRef(){int count;while ((count = refCount) > 0){if (refCount.CompareAndSet(count, count + 1)){return true;}}return false;}
