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