12 writes to _count
Microsoft.AspNetCore.Http.Abstractions (12)
Routing\RouteValueDictionary.cs (12)
98
_count
= start,
153
_count
= storage.Properties.Length;
243
_count
= dictionary._count;
256
_count
= count;
294
_arrayStorage[
_count
++] = new KeyValuePair<string, object?>(key, value);
386
_count
++;
402
_count
= 0;
407
_count
= 0;
500
_count
--;
528
_count
--;
567
_count
--;
600
_count
++;
31 references to _count
Microsoft.AspNetCore.Http.Abstractions (31)
Routing\RouteValueDictionary.cs (31)
243
_count = dictionary.
_count
;
249
var count = dictionary.
_count
;
288
EnsureCapacity(
_count
);
293
EnsureCapacity(
_count
+ 1);
314
public int Count =>
_count
;
324
EnsureCapacity(
_count
);
327
var keys = new string[
_count
];
344
EnsureCapacity(
_count
);
347
var values = new object?[
_count
];
373
EnsureCapacity(
_count
+ 1);
385
_arrayStorage[
_count
] = new KeyValuePair<string, object?>(key, value);
392
if (
_count
== 0)
406
Array.Clear(_arrayStorage, 0,
_count
);
462
Array.Copy(storage, 0, array, arrayIndex,
_count
);
499
Array.Copy(array, index + 1, array, index,
_count
- index);
501
array[
_count
] = default;
523
EnsureCapacity(
_count
);
530
Array.Copy(array, index + 1, array, index,
_count
- index);
531
array[
_count
] = default;
554
if (
_count
== 0)
562
EnsureCapacity(
_count
);
570
Array.Copy(array, index + 1, array, index,
_count
- index);
571
array[
_count
] = default;
698
if (
_count
> 0)
700
Array.Copy(_arrayStorage, 0, array, 0,
_count
);
713
var count =
_count
;
730
var count =
_count
;
753
var count =
_count
;
830
if (dictionary._propertyStorage == null && ((uint)_index < (uint)dictionary.
_count
))
855
if (dictionary._propertyStorage != null && ((uint)_index < (uint)dictionary.
_count
))
865
_index = dictionary.
_count
;