4 writes to _count
Microsoft.CodeAnalysis (4)
Syntax\SyntaxTriviaListBuilder.cs (4)
45
_count
= 0;
79
_nodes[
_count
++] = item;
96
_count
+= length;
112
_count
+= length;
14 references to _count
Microsoft.CodeAnalysis (14)
Syntax\SyntaxTriviaListBuilder.cs (14)
40
get { return
_count
; }
52
if (index < 0 || index >=
_count
)
74
if (
_count
>= _nodes.Length)
76
this.Grow(
_count
== 0 ? 8 : _nodes.Length * 2);
90
if (
_count
+ length > _nodes.Length)
92
this.Grow(
_count
+ length);
95
Array.Copy(items, offset, _nodes,
_count
, length);
106
if (
_count
+ length > _nodes.Length)
108
this.Grow(
_count
+ length);
111
list.CopyTo(offset, _nodes,
_count
, length);
129
if (
_count
> 0)
131
switch (
_count
)
149
var tmp = new ArrayElement<GreenNode>[
_count
];
150
for (int i = 0; i <
_count
; i++)