5 writes to _count
Microsoft.CodeAnalysis.Extensions.Package (5)
src\Dependencies\Collections\TemporaryArray`1.cs (5)
168_count++; 190_count++; 208_count++; 246_count--; 351_count = 0;
15 references to _count
Microsoft.CodeAnalysis.Extensions.Package (15)
src\Dependencies\Collections\TemporaryArray`1.cs (15)
107public readonly int Count => _builder?.Count ?? _count; 117if ((uint)index >= _count) 138if ((uint)index >= _count) 165else if (_count < InlineCapacity) 169this[_count - 1] = item; 173Debug.Assert(_count == InlineCapacity); 185else if (_count + items.Length <= InlineCapacity) 191this[_count - 1] = item; 203if (_count + items.Count <= InlineCapacity) 209this[_count - 1] = item; 310var result = _count switch 339for (var i = 0; i < _count; i++) 363switch (_count) 391switch (_count) 486=> array._count;