4 writes to buckets
mscorlib (4)
system\collections\generic\dictionary.cs (4)
313
buckets
= new int[size];
412
buckets
= new int[hashsize];
432
buckets
= null;
463
buckets
= newBuckets;
22 references to buckets
mscorlib (22)
system\collections\generic\dictionary.cs (22)
218
for (int i = 0; i <
buckets
.Length; i++)
buckets
[i] = -1;
289
info.AddValue(HashSizeName,
buckets
== null ? 0 :
buckets
.Length); //This is the length of the bucket array.
290
if(
buckets
!= null) {
302
if (
buckets
!= null) {
304
for (int i =
buckets
[hashCode %
buckets
.Length]; i >= 0; i = entries[i].next) {
314
for (int i = 0; i <
buckets
.Length; i++)
buckets
[i] = -1;
325
if (
buckets
== null) Initialize(0);
327
int targetBucket = hashCode %
buckets
.Length;
333
for (int i =
buckets
[targetBucket]; i >= 0; i = entries[i].next) {
357
targetBucket = hashCode %
buckets
.Length;
364
entries[index].next =
buckets
[targetBucket];
367
buckets
[targetBucket] = index;
413
for (int i = 0; i <
buckets
.Length; i++)
buckets
[i] = -1;
472
if (
buckets
!= null) {
474
int bucket = hashCode %
buckets
.Length;
476
for (int i =
buckets
[bucket]; i >= 0; last = i, i = entries[i].next) {
479
buckets
[bucket] = entries[i].next;