1 write to _entries
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1102_entries = newEntries;
41 references to _entries
System.Collections (41)
System\Collections\Generic\OrderedDictionary.cs (41)
41/// <summary>Indexes into <see cref="_entries"/> for the start of chains; indices are 1-based.</summary> 208/// <summary>Initializes the <see cref="_buckets"/>/<see cref="_entries"/>.</summary> 211[MemberNotNull(nameof(_entries))] 218public int Capacity => _entries?.Length ?? 0; 405Debug.Assert(_entries is not null); 411_entries[i].Value = value; 440Entry[]? entries = _entries; 447entries = _entries; 523Debug.Assert(_entries is not null); 526Array.Clear(_entries, 0, _count); 544Entry[]? entries = _entries; 586Debug.Assert(_entries is not null, "count must be positive, which means we must have entries"); 588ref Entry e = ref _entries[index]; 622Entry[]? entries = _entries; 738Debug.Assert(_entries is not null); 740value = _entries[index].Value; 764Entry[]? entries = _entries; 786Debug.Assert(_entries is not null); 788_entries[index].Value = value; 805Debug.Assert(_entries is not null); 806ref Entry e = ref _entries[index]; 846RehashIfNecessary(collisionCount, _entries); 884int currentCapacity = _entries?.Length ?? 0; 908Debug.Assert(_entries is not null); 909value = _entries[index].Value; 919/// The bucket is a linked list by index into the <see cref="_entries"/> array. 935Entry[]? entries = _entries; 988Entry[]? entries = _entries; 1048/// <summary>Grow or shrink <see cref="_buckets"/> and <see cref="_entries"/> to the specified capacity.</summary> 1050[MemberNotNull(nameof(_entries))] 1069if (_entries is not null) 1071Array.Copy(_entries, newEntries, count); 1149Debug.Assert(_entries is not null); 1150if (EqualityComparer<TValue>.Default.Equals(item.Value, _entries[index].Value)) 1187ref Entry entry = ref _entries![i]; 1409Debug.Assert(dictionary._entries is not null); 1410ref Entry entry = ref dictionary._entries[_index]; 1485Entry[]? entries = dictionary._entries; 1674Entry[]? entries = dictionary._entries; 1717Entry[]? entries = _dictionary._entries; 1763Entry[]? entries = _dictionary._entries;