1 write to _keyOrder
Microsoft.Maui.Controls (1)
OrderedDictionary.cs (1)
65
_keyOrder
= new List<TKey>(capacity);
22 references to _keyOrder
Microsoft.Maui.Controls (22)
OrderedDictionary.cs (22)
66
_roKeys = new ReadOnlyCollection<TKey>(
_keyOrder
);
102
get { return _dict[
_keyOrder
[index]]; }
116
_keyOrder
.Clear();
133
for (var i = 0; i <
_keyOrder
.Count; ++i)
135
TKey key =
_keyOrder
[i];
155
return _kvpCollection.Remove(item) &&
_keyOrder
.Remove(item.Key);
168
_keyOrder
.Add(key);
194
_keyOrder
.Add(key);
216
return _dict.Remove(key) &&
_keyOrder
.Remove(key);
246
foreach (TKey key in
_keyOrder
)
252
return
_keyOrder
.IndexOf(item.Key);
262
get { return new KeyValuePair<TKey, TValue>(
_keyOrder
[index], this[index]); }
265
_keyOrder
[index] = value.Key;
276
TKey key =
_keyOrder
[index];
301
return
_keyOrder
.IndexOf(key);
317
return
_keyOrder
.IndexOf(key, startIndex);
340
return
_keyOrder
.IndexOf(key, startIndex, count);
356
_keyOrder
.Insert(index, key);
362
TKey key =
_keyOrder
[oldIndex];
363
_keyOrder
.RemoveAt(oldIndex);
364
_keyOrder
.Insert(newIndex, key);
426
for (var i = 0; i < _odict.
_keyOrder
.Count; ++i)