5 writes to _count
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Dependencies\Collections\TemporaryArray`1.cs (5)
167
_count
++;
189
_count
++;
207
_count
++;
245
_count
--;
350
_count
= 0;
15 references to _count
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (15)
src\Dependencies\Collections\TemporaryArray`1.cs (15)
106
public readonly int Count => _builder?.Count ??
_count
;
116
if ((uint)index >=
_count
)
137
if ((uint)index >=
_count
)
164
else if (
_count
< InlineCapacity)
168
this[
_count
- 1] = item;
172
Debug.Assert(
_count
== InlineCapacity);
184
else if (
_count
+ items.Length <= InlineCapacity)
190
this[
_count
- 1] = item;
202
if (
_count
+ items.Count <= InlineCapacity)
208
this[
_count
- 1] = item;
309
var result =
_count
switch
338
for (var i = 0; i <
_count
; i++)
362
switch (
_count
)
390
switch (
_count
)
485
=> array.
_count
;