1 write to _entries
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1136_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; 409Debug.Assert(_entries is not null); 415_entries[i].Value = value; 444Entry[]? entries = _entries; 451entries = _entries; 538Debug.Assert(_entries is not null); 541Array.Clear(_entries, 0, _count); 560Entry[]? entries = _entries; 602Debug.Assert(_entries is not null, "count must be positive, which means we must have entries"); 604ref Entry e = ref _entries[index]; 638Entry[]? entries = _entries; 756Debug.Assert(_entries is not null); 758value = _entries[index].Value; 783Entry[]? entries = _entries; 806Debug.Assert(_entries is not null); 808_entries[index].Value = value; 827Debug.Assert(_entries is not null); 828ref Entry e = ref _entries[index]; 868RehashIfNecessary(collisionCount, _entries); 906int currentCapacity = _entries?.Length ?? 0; 942Debug.Assert(_entries is not null); 943value = _entries[index].Value; 953/// The bucket is a linked list by index into the <see cref="_entries"/> array. 969Entry[]? entries = _entries; 1022Entry[]? entries = _entries; 1082/// <summary>Grow or shrink <see cref="_buckets"/> and <see cref="_entries"/> to the specified capacity.</summary> 1084[MemberNotNull(nameof(_entries))] 1103if (_entries is not null) 1105Array.Copy(_entries, newEntries, count); 1183Debug.Assert(_entries is not null); 1184if (EqualityComparer<TValue>.Default.Equals(item.Value, _entries[index].Value)) 1221ref Entry entry = ref _entries![i]; 1443Debug.Assert(dictionary._entries is not null); 1444ref Entry entry = ref dictionary._entries[_index]; 1519Entry[]? entries = dictionary._entries; 1708Entry[]? entries = dictionary._entries; 1751Entry[]? entries = _dictionary._entries; 1797Entry[]? entries = _dictionary._entries;