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)
107
public readonly int Count => _builder?.Count ??
_count
;
117
if ((uint)index >=
_count
)
138
if ((uint)index >=
_count
)
165
else if (
_count
< InlineCapacity)
169
this[
_count
- 1] = item;
173
Debug.Assert(
_count
== InlineCapacity);
185
else if (
_count
+ items.Length <= InlineCapacity)
191
this[
_count
- 1] = item;
203
if (
_count
+ items.Count <= InlineCapacity)
209
this[
_count
- 1] = item;
310
var result =
_count
switch
339
for (var i = 0; i <
_count
; i++)
363
switch (
_count
)
391
switch (
_count
)
486
=> array.
_count
;