1 write to _entries
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1135_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> 207/// <summary>Initializes the <see cref="_buckets"/>/<see cref="_entries"/>.</summary> 210[MemberNotNull(nameof(_entries))] 217public int Capacity => _entries?.Length ?? 0; 408Debug.Assert(_entries is not null); 414_entries[i].Value = value; 443Entry[]? entries = _entries; 450entries = _entries; 537Debug.Assert(_entries is not null); 540Array.Clear(_entries, 0, _count); 559Entry[]? entries = _entries; 601Debug.Assert(_entries is not null, "count must be positive, which means we must have entries"); 603ref Entry e = ref _entries[index]; 637Entry[]? entries = _entries; 755Debug.Assert(_entries is not null); 757value = _entries[index].Value; 782Entry[]? entries = _entries; 805Debug.Assert(_entries is not null); 807_entries[index].Value = value; 826Debug.Assert(_entries is not null); 827ref Entry e = ref _entries[index]; 867RehashIfNecessary(collisionCount, _entries); 905int currentCapacity = _entries?.Length ?? 0; 941Debug.Assert(_entries is not null); 942value = _entries[index].Value; 952/// The bucket is a linked list by index into the <see cref="_entries"/> array. 968Entry[]? entries = _entries; 1021Entry[]? entries = _entries; 1081/// <summary>Grow or shrink <see cref="_buckets"/> and <see cref="_entries"/> to the specified capacity.</summary> 1083[MemberNotNull(nameof(_entries))] 1102if (_entries is not null) 1104Array.Copy(_entries, newEntries, count); 1182Debug.Assert(_entries is not null); 1183if (EqualityComparer<TValue>.Default.Equals(item.Value, _entries[index].Value)) 1220ref Entry entry = ref _entries![i]; 1442Debug.Assert(dictionary._entries is not null); 1443ref Entry entry = ref dictionary._entries[_index]; 1518Entry[]? entries = dictionary._entries; 1707Entry[]? entries = dictionary._entries; 1750Entry[]? entries = _dictionary._entries; 1796Entry[]? entries = _dictionary._entries;