2 writes to _keysAndValues
System.Linq.Expressions (2)
System\Linq\Expressions\Interpreter\Utilities.cs (2)
311
_keysAndValues
= new KeyValuePair<TKey, TValue>[ArraySize];
326
_keysAndValues
= null;
22 references to _keysAndValues
System.Linq.Expressions (22)
System\Linq\Expressions\Interpreter\Utilities.cs (22)
184
else if (
_keysAndValues
!= null)
186
for (int i = 0; i <
_keysAndValues
.Length; i++)
188
if (
_keysAndValues
[i].Key == key)
190
value =
_keysAndValues
[i].Value;
207
else if (
_keysAndValues
!= null)
209
for (int i = 0; i <
_keysAndValues
.Length; i++)
211
if (
_keysAndValues
[i].Key == key)
213
_keysAndValues
[i] = default;
229
KeyValuePair<TKey, TValue>[]? keysAndValues =
_keysAndValues
;
256
if (
_keysAndValues
!= null)
258
for (int i = 0; i <
_keysAndValues
.Length; i++)
260
if (
_keysAndValues
[i].Key != null)
262
yield return
_keysAndValues
[i];
293
if (
_keysAndValues
!= null)
296
for (int i = 0; i <
_keysAndValues
.Length; i++)
298
if (
_keysAndValues
[i].Key == key)
300
_keysAndValues
[i] = new KeyValuePair<TKey, TValue>(key, value);
303
else if (
_keysAndValues
[i].Key == null)
317
_keysAndValues
[index] = new KeyValuePair<TKey, TValue>(key, value);
322
for (int i = 0; i <
_keysAndValues
.Length; i++)
324
_dict[
_keysAndValues
[i].Key] =
_keysAndValues
[i].Value;