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