3 writes to entries
mscorlib (3)
system\collections\generic\dictionary.cs (3)
315
entries
= new Entry[size];
414
entries
= new Entry[hashsize];
464
entries
= newEntries;
51 references to entries
mscorlib (51)
system\collections\generic\dictionary.cs (51)
182
if (i >= 0) return
entries
[i].value;
201
if( i >= 0 && EqualityComparer<TValue>.Default.Equals(
entries
[i].value, keyValuePair.Value)) {
209
if( i >= 0 && EqualityComparer<TValue>.Default.Equals(
entries
[i].value, keyValuePair.Value)) {
219
Array.Clear(
entries
, 0, count);
234
if (
entries
[i].hashCode >= 0 &&
entries
[i].value == null) return true;
240
if (
entries
[i].hashCode >= 0 && c.Equals(
entries
[i].value, value)) return true;
260
Entry[] entries = this.
entries
;
304
for (int i = buckets[hashCode % buckets.Length]; i >= 0; i =
entries
[i].next) {
305
if (
entries
[i].hashCode == hashCode && comparer.Equals(
entries
[i].key, key)) return i;
333
for (int i = buckets[targetBucket]; i >= 0; i =
entries
[i].next) {
334
if (
entries
[i].hashCode == hashCode && comparer.Equals(
entries
[i].key, key)) {
338
entries
[i].value = value;
350
freeList =
entries
[index].next;
354
if (count ==
entries
.Length)
363
entries
[index].hashCode = hashCode;
364
entries
[index].next = buckets[targetBucket];
365
entries
[index].key = key;
366
entries
[index].value = value;
387
Resize(
entries
.Length, true);
444
Contract.Assert(newSize >=
entries
.Length);
448
Array.Copy(
entries
, 0, newEntries, 0, count);
476
for (int i = buckets[bucket]; i >= 0; last = i, i =
entries
[i].next) {
477
if (
entries
[i].hashCode == hashCode && comparer.Equals(
entries
[i].key, key)) {
479
buckets[bucket] =
entries
[i].next;
482
entries
[last].next =
entries
[i].next;
484
entries
[i].hashCode = -1;
485
entries
[i].next = freeList;
486
entries
[i].key = default(TKey);
487
entries
[i].value = default(TValue);
501
value =
entries
[i].value;
515
return
entries
[i].value;
555
Entry[] entries = this.
entries
;
570
Entry[] entries = this.
entries
;
621
return
entries
[i].value;
724
if (dictionary.
entries
[index].hashCode >= 0) {
725
current = new KeyValuePair<TKey, TValue>(dictionary.
entries
[index].key, dictionary.
entries
[index].value);
830
Entry[] entries = dictionary.
entries
;
901
Entry[] entries = dictionary.
entries
;
945
if (dictionary.
entries
[index].hashCode >= 0) {
946
currentKey = dictionary.
entries
[index].key;
1017
Entry[] entries = dictionary.
entries
;
1087
Entry[] entries = dictionary.
entries
;
1131
if (dictionary.
entries
[index].hashCode >= 0) {
1132
currentValue = dictionary.
entries
[index].value;