4 writes to _count
Microsoft.CodeAnalysis (4)
Syntax\SyntaxTriviaListBuilder.cs (4)
45_count = 0; 79_nodes[_count++] = item; 102_count += length; 118_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); 96if (_count + length > _nodes.Length) 98this.Grow(_count + length); 101items.Slice(offset, length).CopyTo(_nodes.AsSpan().Slice(_count, length)); 112if (_count + length > _nodes.Length) 114this.Grow(_count + length); 117list.CopyTo(offset, _nodes, _count, length); 135if (_count > 0) 137switch (_count) 155var tmp = new ArrayElement<GreenNode>[_count]; 156for (int i = 0; i < _count; i++)