5 writes to _count
Microsoft.CodeAnalysis (5)
Syntax\SyntaxNodeOrTokenListBuilder.cs (5)
19
_count
= 0;
34
_count
= 0;
67
_nodes[
_count
++] = item;
100
_count
+= length;
119
_count
--;
11 references to _count
Microsoft.CodeAnalysis (11)
Syntax\SyntaxNodeOrTokenListBuilder.cs (11)
29
get { return
_count
; }
62
if (
_count
>= _nodes.Length)
64
this.Grow(
_count
== 0 ? 8 : _nodes.Length * 2);
94
if (
_count
+ length > _nodes.Length)
96
this.Grow(
_count
+ length);
99
list.CopyTo(offset, _nodes,
_count
, length);
120
_nodes[
_count
] = null;
132
if (
_count
> 0)
134
switch (
_count
)
156
var tmp = new ArrayElement<GreenNode>[
_count
];
157
for (int i = 0; i <
_count
; i++)