3 writes to _entries
Microsoft.CodeAnalysis (3)
src\Dependencies\Collections\SegmentedHashSet`1.cs (3)
166_entries = (SegmentedArray<Entry>)source._entries.Clone(); 921_entries = entries; 1005_entries = entries;
25 references to _entries
Microsoft.CodeAnalysis (25)
src\Dependencies\Collections\SegmentedHashSet`1.cs (25)
129if (_count > 0 && _entries.Length / _count > ShrinkThreshold) 166_entries = (SegmentedArray<Entry>)source._entries.Clone(); 176var entries = source._entries; 203Debug.Assert(_entries.Length > 0, "_entries should be non-empty"); 209SegmentedArray.Clear(_entries, 0, count); 218/// <summary>Gets the index of the item in <see cref="_entries"/>, or -1 if it's not in the set.</summary> 224var entries = _entries; 281/// <summary>Gets a reference to the specified hashcode's bucket, containing an index into <see cref="_entries"/>.</summary> 293var entries = _entries; 403actualValue = _entries[index]._value; 819var entries = _entries; 839var entries = _entries; 879var currentCapacity = _entries.Length; 899Debug.Assert(_entries.Length > 0, "_entries should be non-empty"); 900Debug.Assert(newSize >= _entries.Length); 905var entries = CreateNewSegmentedArrayReusingOldSegments(_entries, newSize); 955var oldEntries = _entries; 965var entries = _entries; 1013/// <param name="location">The index into <see cref="_entries"/> of the element.</param> 1023var entries = _entries; 1102entries = _entries; 1147var entries = _entries; 1196ref var entry = ref _entries[i]; 1284Remove(_entries[i]._value); 1412ref var entry = ref _hashSet._entries[_index++];