2 writes to _nodes
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SyntaxListBuilder.cs (2)
18_nodes = new ArrayElement<GreenNode?>[size]; 147Array.Resize(ref _nodes, newSize);
18 references to _nodes
Microsoft.CodeAnalysis (18)
Syntax\InternalSyntax\SyntaxListBuilder.cs (18)
14public int Capacity => _nodes.Length; 28Array.Clear(_nodes, 0, _nodes.Length); 36return _nodes[index]; 41_nodes[index].Value = value; 65_nodes[Count++].Value = item; 94Debug.Assert(_nodes[i].Value != null); 131_nodes[Count].Value = null; 136int currentSize = _nodes.Length; 154if (_nodes[i].Value!.RawKind == kind) 168array[i] = _nodes[i]!; 181return _nodes[0]; 183return SyntaxList.List(_nodes[0]!, _nodes[1]!); 185return SyntaxList.List(_nodes[0]!, _nodes[1]!, _nodes[2]!); 188Array.Copy(_nodes, tmp, this.Count);