2 writes to _nodes
Microsoft.CodeAnalysis (2)
Syntax\SyntaxTokenListBuilder.cs (2)
17
_nodes
= new GreenNode?[size];
86
_nodes
= tmp;
18 references to _nodes
Microsoft.CodeAnalysis (18)
Syntax\SyntaxTokenListBuilder.cs (18)
43
_nodes
[_count++] = item;
54
list.CopyTo(offset,
_nodes
, _count, length);
68
_nodes
[_count + i] = list[offset + i].Node;
76
if (requiredSize >
_nodes
.Length)
85
Array.Copy(
_nodes
, tmp,
_nodes
.Length);
96
return new SyntaxTokenList(null,
_nodes
[0], 0, 0);
98
Debug.Assert(
_nodes
[0] is object);
99
Debug.Assert(
_nodes
[1] is object);
100
return new SyntaxTokenList(null, InternalSyntax.SyntaxList.List(
_nodes
[0]!,
_nodes
[1]!), 0, 0);
102
Debug.Assert(
_nodes
[0] is object);
103
Debug.Assert(
_nodes
[1] is object);
104
Debug.Assert(
_nodes
[2] is object);
105
return new SyntaxTokenList(null, InternalSyntax.SyntaxList.List(
_nodes
[0]!,
_nodes
[1]!,
_nodes
[2]!), 0, 0);
107
return new SyntaxTokenList(null, InternalSyntax.SyntaxList.List(
_nodes
, _count), 0, 0);