4 writes to _stack
System.Collections.Immutable (4)
System\Collections\Immutable\SortedInt32KeyNode.Enumerator.cs (4)
59_stack = null; 62if (!SecureObjectPool<Stack<RefAsValueType<SortedInt32KeyNode<TValue>>>, Enumerator>.TryTake(this, out _stack)) 64_stack = SecureObjectPool<Stack<RefAsValueType<SortedInt32KeyNode<TValue>>>, Enumerator>.PrepNew(this, new Stack<RefAsValueType<SortedInt32KeyNode<TValue>>>(root.Height)); 115_stack = null;
10 references to _stack
System.Collections.Immutable (10)
System\Collections\Immutable\SortedInt32KeyNode.Enumerator.cs (10)
109if (_stack != null && _stack.TryUse(ref this, out Stack<RefAsValueType<SortedInt32KeyNode<TValue>>>? stack)) 112SecureObjectPool<Stack<RefAsValueType<SortedInt32KeyNode<TValue>>>, Enumerator>.TryAdd(this, _stack!); 126if (_stack != null) 128Stack<RefAsValueType<SortedInt32KeyNode<TValue>>> stack = _stack.Use(ref this); 150if (_stack != null) 152Stack<RefAsValueType<SortedInt32KeyNode<TValue>>> stack = _stack.Use(ref this); 169if (_root == null || (_stack != null && !_stack.IsOwned(ref this))) 182Stack<RefAsValueType<SortedInt32KeyNode<TValue>>> stack = _stack!.Use(ref this);