public AVLNode GetOrAdd(TKey key, Func <TKey, TValue> factory) { bool isNew; var result = AVLNode.GetOrAdd(ref _root, key, factory, _comparison, out isNew); if (isNew) { _count++; } return(result); }