3 writes to Count
Microsoft.CodeAnalysis (3)
Syntax\InternalSyntax\SyntaxListBuilder.cs (3)
27
this.
Count
= 0;
63
_nodes[
Count
++].Value = item;
128
Count
--;
13 references to Count
Microsoft.CodeAnalysis (13)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (1)
43
return _builder!.
Count
;
Syntax\InternalSyntax\SyntaxListBuilder.cs (11)
77
int oldCount = this.
Count
;
84
Validate(oldCount, this.
Count
);
106
int oldCount = this.
Count
;
113
Validate(oldCount, this.
Count
);
129
_nodes[
Count
].Value = null;
135
int requiredSize = this.
Count
+ additionalCount;
150
for (int i = 0; i <
Count
; i++)
163
var array = new GreenNode[this.
Count
];
174
switch (this.
Count
)
185
var tmp = new ArrayElement<GreenNode>[this.
Count
];
186
Array.Copy(_nodes, tmp, this.
Count
);
Syntax\InternalSyntax\SyntaxListBuilder`1.cs (1)
40
return _builder.
Count
;