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