7 writes to _head
System.Collections.Concurrent (7)
System\Collections\Concurrent\ConcurrentStack.cs (7)
101_head = lastNode; 197_head = null; 282if (Interlocked.CompareExchange(ref _head, newNode, newNode._next) == newNode._next) 351if (Interlocked.CompareExchange(ref _head, head, tail._next) == tail._next) 379ref _head, head, tail._next) != tail._next); 468if (Interlocked.CompareExchange(ref _head, head._next, head) == head) 611if (Interlocked.CompareExchange(ref _head, next._next, head) == head)
11 references to _head
System.Collections.Concurrent (11)
System\Collections\Concurrent\ConcurrentStack.cs (11)
122get { return _head == null; } 149for (Node? curr = _head; curr != null; curr = curr._next) 281newNode._next = _head; 350tail._next = _head; 376tail._next = _head; 434Node? head = _head; 461Node? head = _head; 591head = _head; 681Node? curr = _head; 694return ToList(_head); 734return GetEnumerator(_head);