4 instantiations of Node
System.Collections.Concurrent (4)
System\Collections\Concurrent\ConcurrentStack.cs (4)
96Node newNode = new Node(element); 280Node newNode = new Node(item); 342head = tail = new Node(items[startIndex]); 345Node node = new Node(items[i]);
23 references to Node
System.Collections.Concurrent (23)
System\Collections\Concurrent\ConcurrentStack.cs (23)
47internal Node? _next; // Next pointer. 60private volatile Node? _head; // The stack is a singly linked list, and only remembers the head. 93Node? lastNode = null; 96Node newNode = new Node(element); 149for (Node? curr = _head; curr != null; curr = curr._next) 280Node newNode = new Node(item); 341Node head, tail; 345Node node = new Node(items[i]); 367private void PushCore(Node head, Node tail) 434Node? head = _head; 461Node? head = _head; 541Node? poppedHead; 557Node? poppedNode; 580private int TryPopCore(int count, out Node? poppedHead) 586Node? head; 587Node next; 647private static void CopyRemovedItems(Node head, T[] collection, int startIndex, int nodesCount) 649Node? current = head; 681Node? curr = _head; 701private static List<T> ToList(Node? curr) 737private static IEnumerator<T> GetEnumerator(Node? head) 739Node? current = head;