4 writes to _count
Microsoft.CodeAnalysis.Workspaces (4)
TemporaryArray`1.cs (4)
152
_count
++;
174
_count
++;
192
_count
++;
276
_count
= 0;
14 references to _count
Microsoft.CodeAnalysis.Workspaces (14)
TemporaryArray`1.cs (14)
91
public readonly int Count => _builder?.Count ??
_count
;
101
if ((uint)index >=
_count
)
122
if ((uint)index >=
_count
)
149
else if (
_count
< InlineCapacity)
153
this[
_count
- 1] = item;
157
Debug.Assert(
_count
== InlineCapacity);
169
else if (
_count
+ items.Length <= InlineCapacity)
175
this[
_count
- 1] = item;
187
if (
_count
+ items.Count <= InlineCapacity)
193
this[
_count
- 1] = item;
235
var result =
_count
switch
264
for (var i = 0; i <
_count
; i++)
288
switch (
_count
)
358
=> array.
_count
;