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)
40get { return _count; } 52if (index < 0 || index >= _count) 74if (_count >= _nodes.Length) 76this.Grow(_count == 0 ? 8 : _nodes.Length * 2); 90if (_count + length > _nodes.Length) 92this.Grow(_count + length); 95Array.Copy(items, offset, _nodes, _count, length); 106if (_count + length > _nodes.Length) 108this.Grow(_count + length); 111list.CopyTo(offset, _nodes, _count, length); 129if (_count > 0) 131switch (_count) 149var tmp = new ArrayElement<GreenNode>[_count]; 150for (int i = 0; i < _count; i++)