2 writes to _nodes
Microsoft.CodeAnalysis (2)
Syntax\SyntaxTriviaListBuilder.cs (2)
18
_nodes
= new SyntaxTrivia[size];
119
_nodes
= tmp;
17 references to _nodes
Microsoft.CodeAnalysis (17)
Syntax\SyntaxTriviaListBuilder.cs (17)
57
return
_nodes
[index];
74
if (_count >=
_nodes
.Length)
76
this.Grow(_count == 0 ? 8 :
_nodes
.Length * 2);
79
_nodes
[_count++] = item;
90
if (_count + length >
_nodes
.Length)
95
Array.Copy(items, offset,
_nodes
, _count, length);
106
if (_count + length >
_nodes
.Length)
111
list.CopyTo(offset,
_nodes
, _count, length);
118
Array.Copy(
_nodes
, tmp,
_nodes
.Length);
134
return new SyntaxTriviaList(default(SyntaxToken),
_nodes
[0].UnderlyingNode, position: 0, index: 0);
138
_nodes
[0].UnderlyingNode!,
139
_nodes
[1].UnderlyingNode!), position: 0, index: 0);
143
_nodes
[0].UnderlyingNode!,
144
_nodes
[1].UnderlyingNode!,
145
_nodes
[2].UnderlyingNode!),
152
tmp[i].Value =
_nodes
[i].UnderlyingNode!;