2 writes to _nodes
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SyntaxListBuilder.cs (2)
18_nodes = new ArrayElement<GreenNode?>[size]; 148Array.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); 132_nodes[Count].Value = null; 137int currentSize = _nodes.Length; 155if (_nodes[i].Value!.RawKind == kind) 169array[i] = _nodes[i]!; 182return _nodes[0]; 184return SyntaxList.List(_nodes[0]!, _nodes[1]!); 186return SyntaxList.List(_nodes[0]!, _nodes[1]!, _nodes[2]!); 189Array.Copy(_nodes, tmp, this.Count);