5 writes to _count
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (5)
165_count++; 187_count++; 205_count++; 243_count--; 348_count = 0;
15 references to _count
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (15)
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (15)
104public readonly int Count => _builder?.Count ?? _count; 114if ((uint)index >= _count) 135if ((uint)index >= _count) 162else if (_count < InlineCapacity) 166this[_count - 1] = item; 170Debug.Assert(_count == InlineCapacity); 182else if (_count + items.Length <= InlineCapacity) 188this[_count - 1] = item; 200if (_count + items.Count <= InlineCapacity) 206this[_count - 1] = item; 307var result = _count switch 336for (var i = 0; i < _count; i++) 360switch (_count) 388switch (_count) 483=> array._count;