1 write to _entries
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1130_entries = newEntries;
41 references to _entries
System.Collections (41)
System\Collections\Generic\OrderedDictionary.cs (41)
40/// <summary>Indexes into <see cref="_entries"/> for the start of chains; indices are 1-based.</summary> 202/// <summary>Initializes the <see cref="_buckets"/>/<see cref="_entries"/>.</summary> 205[MemberNotNull(nameof(_entries))] 212public int Capacity => _entries?.Length ?? 0; 403Debug.Assert(_entries is not null); 409_entries[i].Value = value; 438Entry[]? entries = _entries; 445entries = _entries; 532Debug.Assert(_entries is not null); 535Array.Clear(_entries, 0, _count); 554Entry[]? entries = _entries; 596Debug.Assert(_entries is not null, "count must be positive, which means we must have entries"); 598ref Entry e = ref _entries[index]; 632Entry[]? entries = _entries; 750Debug.Assert(_entries is not null); 752value = _entries[index].Value; 777Entry[]? entries = _entries; 800Debug.Assert(_entries is not null); 802_entries[index].Value = value; 821Debug.Assert(_entries is not null); 822ref Entry e = ref _entries[index]; 862RehashIfNecessary(collisionCount, _entries); 900int currentCapacity = _entries?.Length ?? 0; 936Debug.Assert(_entries is not null); 937value = _entries[index].Value; 947/// The bucket is a linked list by index into the <see cref="_entries"/> array. 963Entry[]? entries = _entries; 1016Entry[]? entries = _entries; 1076/// <summary>Grow or shrink <see cref="_buckets"/> and <see cref="_entries"/> to the specified capacity.</summary> 1078[MemberNotNull(nameof(_entries))] 1097if (_entries is not null) 1099Array.Copy(_entries, newEntries, count); 1177Debug.Assert(_entries is not null); 1178if (EqualityComparer<TValue>.Default.Equals(item.Value, _entries[index].Value)) 1215ref Entry entry = ref _entries![i]; 1437Debug.Assert(dictionary._entries is not null); 1438ref Entry entry = ref dictionary._entries[_index]; 1513Entry[]? entries = dictionary._entries; 1702Entry[]? entries = dictionary._entries; 1745Entry[]? entries = _dictionary._entries; 1791Entry[]? entries = _dictionary._entries;