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)
37
if (Count >=
_nodes
.Length)
39
this.Grow(Count == 0 ? 8 :
_nodes
.Length * 2);
42
_nodes
[Count++].Value = item;
52
if (Count + length >
_nodes
.Length)
59
_nodes
[j].Value = items[i].Green;
72
if (
_nodes
[i].Value == null)
86
if (this.Count + count >
_nodes
.Length)
94
_nodes
[dst].Value = list.ItemInternal(i)!.Green;
120
if (this.Count + count >
_nodes
.Length)
128
_nodes
[dst].Value = list[i].UnderlyingNode;
151
Array.Copy(
_nodes
, tmp,
_nodes
.Length);
159
if (
_nodes
[i].Value!.RawKind == kind)
175
return
_nodes
[0].Value;
177
return InternalSyntax.SyntaxList.List(
_nodes
[0].Value!,
_nodes
[1].Value!);
179
return InternalSyntax.SyntaxList.List(
_nodes
[0].Value!,
_nodes
[1].Value!,
_nodes
[2].Value!);
184
tmp[i].Value =
_nodes
[i].Value!;
204
this.
_nodes
[Count] = default;