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)
29get { return _count; } 62if (_count >= _nodes.Length) 64this.Grow(_count == 0 ? 8 : _nodes.Length * 2); 94if (_count + length > _nodes.Length) 96this.Grow(_count + length); 99list.CopyTo(offset, _nodes, _count, length); 120_nodes[_count] = null; 132if (_count > 0) 134switch (_count) 156var tmp = new ArrayElement<GreenNode>[_count]; 157for (int i = 0; i < _count; i++)