3 writes to _entries
Microsoft.CodeAnalysis.Threading.Package (3)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
168_entries = (SegmentedArray<Entry>)source._entries.Clone(); 923_entries = entries; 1007_entries = entries;
25 references to _entries
Microsoft.CodeAnalysis.Threading.Package (25)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (25)
131if (_count > 0 && _entries.Length / _count > ShrinkThreshold) 168_entries = (SegmentedArray<Entry>)source._entries.Clone(); 178var entries = source._entries; 205Debug.Assert(_entries.Length > 0, "_entries should be non-empty"); 211SegmentedArray.Clear(_entries, 0, count); 220/// <summary>Gets the index of the item in <see cref="_entries"/>, or -1 if it's not in the set.</summary> 226var entries = _entries; 283/// <summary>Gets a reference to the specified hashcode's bucket, containing an index into <see cref="_entries"/>.</summary> 295var entries = _entries; 405actualValue = _entries[index]._value; 821var entries = _entries; 841var entries = _entries; 881var currentCapacity = _entries.Length; 901Debug.Assert(_entries.Length > 0, "_entries should be non-empty"); 902Debug.Assert(newSize >= _entries.Length); 907var entries = CreateNewSegmentedArrayReusingOldSegments(_entries, newSize); 957var oldEntries = _entries; 967var entries = _entries; 1015/// <param name="location">The index into <see cref="_entries"/> of the element.</param> 1025var entries = _entries; 1104entries = _entries; 1149var entries = _entries; 1198ref var entry = ref _entries[i]; 1286Remove(_entries[i]._value); 1414ref var entry = ref _hashSet._entries[_index++];