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