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