6 instantiations of Node
System.Collections.Concurrent (6)
System\Collections\Concurrent\ConcurrentDictionary.cs (6)
681var newNode = new Node(node._key, newValue, hashcode, node._next); 979var newNode = new Node(node._key, value, hashcode, node._next); 1005var resultNode = new Node(key, value, hashcode, bucket); 2030newBucket = new Node(current._key, current._value, hashCode, newBucket); 2444var newNode = new Node(node._key, value, hashcode, node._next); 2476var resultNode = new Node(actualKey, value, hashcode, bucket);
41 references to Node
System.Collections.Concurrent (41)
System\Collections\Concurrent\ConcurrentDictionary.cs (41)
321private static bool NodeEqualsKey(IEqualityComparer<TKey>? comparer, Node node, TKey key) 450ref Node? bucket = ref GetBucketAndLock(tables, hashcode, out uint lockNo); 467Node? prev = null; 468for (Node? curr = bucket; curr is not null; curr = curr._next) 531for (Node? n = GetBucket(tables, hashcode); n is not null; n = n._next) 544for (Node? n = GetBucket(tables, hashcode); n is not null; n = n._next) 565for (Node? n = GetBucket(tables, hashcode); n is not null; n = n._next) 577for (Node? n = GetBucket(tables, hashcode); n is not null; n = n._next) 645ref Node? bucket = ref GetBucketAndLock(tables, hashcode, out uint lockNo); 663Node? prev = null; 664for (Node? node = bucket; node is not null; node = node._next) 681var newNode = new Node(node._key, newValue, hashcode, node._next); 811for (Node? current = bucket._node; current is not null; current = current._next) 826for (Node? current = bucket._node; current is not null; current = current._next) 841for (Node? current = bucket._node; current is not null; current = current._next) 873private Node? _node; 894if (_node is Node node) 931ref Node? bucket = ref GetBucketAndLock(tables, hashcode, out uint lockNo); 958Node? prev = null; 959for (Node? node = bucket; node is not null; node = node._next) 979var newNode = new Node(node._key, value, hashcode, node._next); 1005var resultNode = new Node(key, value, hashcode, bucket); 2022Node? current = bucket._node; 2027Node? next = current._next; 2028ref Node? newBucket = ref GetBucketAndLock(newTables, hashCode, out uint newLockNo); 2146for (Node? node = bucket._node; node is not null; node = node._next) 2182for (Node? node = bucket._node; node is not null; node = node._next) 2204internal volatile Node? _node; 2214internal volatile Node? _next; 2217internal Node(TKey key, TValue value, int hashcode, Node? next) 2229private static Node? GetBucket(Tables tables, int hashcode) 2245private static ref Node? GetBucketAndLock(Tables tables, int hashcode, out uint lockNo) 2399ref Node? bucket = ref GetBucketAndLock(tables, hashcode, out uint lockNo); 2423Node? prev = null; 2424for (Node? node = bucket; node is not null; node = node._next) 2444var newNode = new Node(node._key, value, hashcode, node._next); 2476var resultNode = new Node(actualKey, value, hashcode, bucket); 2554for (Node? n = GetBucket(tables, hashcode); n is not null; n = n._next) 2603ref Node? bucket = ref GetBucketAndLock(tables, hashcode, out uint lockNo); 2624Node? prev = null; 2625for (Node? curr = bucket; curr is not null; curr = curr._next)