6 writes to _next
System.Collections.Concurrent (6)
System\Collections\Concurrent\ConcurrentStack.cs (6)
56_next = null; 97newNode._next = lastNode; 281newNode._next = _head; 346node._next = head; 350tail._next = _head; 376tail._next = _head;
14 references to _next
System.Collections.Concurrent (14)
System\Collections\Concurrent\ConcurrentStack.cs (14)
149for (Node? curr = _head; curr != null; curr = curr._next) 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) 605for (; nodesCount < count && next._next != null; nodesCount++) 607next = next._next; 611if (Interlocked.CompareExchange(ref _head, next._next, head) == head) 653current = current._next; 708curr = curr._next; 743current = current._next;