1 write to _entries
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1143_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); 541Array.Clear(_entries, 0, _count); 561Entry[]? entries = _entries; 603Debug.Assert(_entries is not null, "count must be positive, which means we must have entries"); 605ref Entry e = ref _entries[index]; 639Entry[]? entries = _entries; 757Debug.Assert(_entries is not null); 759value = _entries[index].Value; 784Entry[]? entries = _entries; 813Debug.Assert(_entries is not null); 815_entries[index].Value = value; 834Debug.Assert(_entries is not null); 835ref Entry e = ref _entries[index]; 875RehashIfNecessary(collisionCount, _entries); 913int currentCapacity = _entries?.Length ?? 0; 949Debug.Assert(_entries is not null); 950value = _entries[index].Value; 960/// The bucket is a linked list by index into the <see cref="_entries"/> array. 976Entry[]? entries = _entries; 1029Entry[]? entries = _entries; 1089/// <summary>Grow or shrink <see cref="_buckets"/> and <see cref="_entries"/> to the specified capacity.</summary> 1091[MemberNotNull(nameof(_entries))] 1110if (_entries is not null) 1112Array.Copy(_entries, newEntries, count); 1190Debug.Assert(_entries is not null); 1191if (EqualityComparer<TValue>.Default.Equals(item.Value, _entries[index].Value)) 1228ref Entry entry = ref _entries![i]; 1451Debug.Assert(dictionary._entries is not null); 1452ref Entry entry = ref dictionary._entries[_index]; 1527Entry[]? entries = dictionary._entries; 1716Entry[]? entries = dictionary._entries; 1759Entry[]? entries = _dictionary._entries; 1805Entry[]? entries = _dictionary._entries;