1 write to _entries
System.Private.Xml.Linq (1)
System\Xml\Linq\XHashtable.cs (1)
152_entries = new Entry[capacity];
18 references to _entries
System.Private.Xml.Linq (18)
System\Xml\Linq\XHashtable.cs (18)
186if (_extractKey(_entries[entryIdx].Value) != null) 189if (_entries[entryIdx].Next == EndOfList) 192entryIdx = Interlocked.CompareExchange(ref _entries[entryIdx].Next, FullList, EndOfList); 197entryIdx = _entries[entryIdx].Next; 228newHashtable.TryAdd(_entries[entryIdx].Value, out _); 230entryIdx = _entries[entryIdx].Next; 250value = _entries[entryIndex].Value; 290_entries[newEntry].Value = value; 291_entries[newEntry].HashCode = hashCode; 306entryIndex = Interlocked.CompareExchange(ref _entries[entryIndex].Next, newEntry, EndOfList); 318newValue = _entries[entryIndex].Value; 347if (_entries[currentIndex].HashCode == hashCode) 349string? keyCompare = _extractKey(_entries[currentIndex].Value); 356if (_entries[currentIndex].Next > EndOfList) 360_entries[currentIndex].Value = default(TValue)!; 361currentIndex = _entries[currentIndex].Next; 366_entries[previousIndex].Next = currentIndex; 385currentIndex = _entries[currentIndex].Next;