1 write to keys
Microsoft.Build (1)
Collections\ArrayDictionary.cs (1)
29
keys
= new TKey[capacity];
14 references to keys
Microsoft.Build (14)
Collections\ArrayDictionary.cs (14)
51
if (comparer.Equals(key,
keys
[i]))
68
public ICollection<TKey> Keys =>
keys
;
70
IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys =>
keys
;
74
ICollection IDictionary.Keys =>
keys
;
96
if (count <
keys
.Length)
98
keys
[count] = key;
104
throw new InvalidOperationException($"ArrayDictionary is at capacity {
keys
.Length}");
124
if (keyComparer.Equals(item.Key,
keys
[i]) && valueComparer.Equals(item.Value, values[i]))
138
if (comparer.Equals(key,
keys
[i]))
151
array[arrayIndex + i] = new KeyValuePair<TKey, TValue>(
keys
[i], values[i]);
187
if (comparer.Equals(key,
keys
[i]))
238
_dictionary.
keys
[_position],
241
private DictionaryEntry CurrentDictionaryEntry => new DictionaryEntry(_dictionary.
keys
[_position], _dictionary.values[_position]);
245
object IDictionaryEnumerator.Key => _dictionary.
keys
[_position];