14 references to _keys
Microsoft.Build.Engine.UnitTests (14)
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (14)
80
int index =
_keys
.IndexOf((TKey)key);
85
int index =
_keys
.IndexOf((TKey)key);
88
_keys
.Add((TKey)key);
102
public ICollection Keys =>
_keys
;
106
public int Count =>
_keys
.Count;
114
if (
_keys
.Contains((TKey)key))
119
_keys
.Add((TKey)key);
125
_keys
.Clear();
131
return
_keys
.Contains((TKey)key);
158
array.SetValue(new KeyValuePair<TKey, TValue>(
_keys
[i], _values[i]), index + i);
162
public IDictionaryEnumerator GetEnumerator() => new MinimalDictionaryEnumerator(
_keys
, _values);
166
int index =
_keys
.IndexOf((TKey)key);
169
_keys
.RemoveAt(index);
178
yield return new KeyValuePair<TKey, TValue>(
_keys
[i], _values[i]);