2 writes to _nodes
Microsoft.CodeAnalysis (2)
Syntax\SyntaxListBuilder.cs (2)
17_nodes = new ArrayElement<GreenNode?>[size]; 152_nodes = tmp;
21 references to _nodes
Microsoft.CodeAnalysis (21)
Syntax\SyntaxListBuilder.cs (21)
37if (Count >= _nodes.Length) 39this.Grow(Count == 0 ? 8 : _nodes.Length * 2); 42_nodes[Count++].Value = item; 52if (Count + length > _nodes.Length) 59_nodes[j].Value = items[i].Green; 72if (_nodes[i].Value == null) 86if (this.Count + count > _nodes.Length) 94_nodes[dst].Value = list.ItemInternal(i)!.Green; 120if (this.Count + count > _nodes.Length) 128_nodes[dst].Value = list[i].UnderlyingNode; 151Array.Copy(_nodes, tmp, _nodes.Length); 159if (_nodes[i].Value!.RawKind == kind) 175return _nodes[0].Value; 177return InternalSyntax.SyntaxList.List(_nodes[0].Value!, _nodes[1].Value!); 179return InternalSyntax.SyntaxList.List(_nodes[0].Value!, _nodes[1].Value!, _nodes[2].Value!); 184tmp[i].Value = _nodes[i].Value!; 204this._nodes[Count] = default;