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