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; 249var count = dictionary._count; 288EnsureCapacity(_count); 293EnsureCapacity(_count + 1); 314public int Count => _count; 324EnsureCapacity(_count); 327var keys = new string[_count]; 344EnsureCapacity(_count); 347var values = new object?[_count]; 373EnsureCapacity(_count + 1); 385_arrayStorage[_count] = new KeyValuePair<string, object?>(key, value); 392if (_count == 0) 406Array.Clear(_arrayStorage, 0, _count); 462Array.Copy(storage, 0, array, arrayIndex, _count); 499Array.Copy(array, index + 1, array, index, _count - index); 501array[_count] = default; 523EnsureCapacity(_count); 530Array.Copy(array, index + 1, array, index, _count - index); 531array[_count] = default; 554if (_count == 0) 562EnsureCapacity(_count); 570Array.Copy(array, index + 1, array, index, _count - index); 571array[_count] = default; 698if (_count > 0) 700Array.Copy(_arrayStorage, 0, array, 0, _count); 713var count = _count; 730var count = _count; 753var count = _count; 830if (dictionary._propertyStorage == null && ((uint)_index < (uint)dictionary._count)) 855if (dictionary._propertyStorage != null && ((uint)_index < (uint)dictionary._count)) 865_index = dictionary._count;