2 writes to _entries
Microsoft.CodeAnalysis (2)
src\Dependencies\Collections\SegmentedDictionary`2.cs (2)
500_entries = entries; 667_entries = entries;
30 references to _entries
Microsoft.CodeAnalysis (30)
src\Dependencies\Collections\SegmentedDictionary`2.cs (30)
166Debug.Assert(_entries.Length >= source.Count); 169var oldEntries = source._entries; 300Debug.Assert(_entries.Length > 0, "_entries should be non-empty"); 307SegmentedArray.Clear(_entries, 0, count); 316var entries = _entries; 374var entries = _entries; 406Debug.Assert(_entries.Length > 0, "expected entries to be non-empty"); 414var entries = _entries; 448var entries = _entries; 518var entries = _entries; 628entries = _entries; 646Debug.Assert(_entries.Length > 0, "_entries should be non-empty"); 647Debug.Assert(newSize >= _entries.Length); 652var entries = CreateNewSegmentedArrayReusingOldSegments(_entries, newSize); 705Debug.Assert(_entries.Length > 0, "entries should be non-empty"); 713var entries = _entries; 782Debug.Assert(_entries.Length > 0, "entries should be non-empty"); 790var entries = _entries; 906var entries = _entries; 926var entries = _entries; 955var currentCapacity = _entries.Length; 1003var oldEntries = _entries; 1019var newEntries = _entries; 1201ref var entry = ref _dictionary._entries[_index++]; 1329var entries = _dictionary._entries; 1408var entries = _dictionary._entries; 1456ref var entry = ref _dictionary._entries[_index++]; 1537var entries = _dictionary._entries; 1616var entries = _dictionary._entries; 1664ref var entry = ref _dictionary._entries[_index++];