1 write to _stack
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxTreeDiagnosticEnumerator.cs (1)
169
_stack
= tmp;
8 references to _stack
Microsoft.CodeAnalysis.CSharp (8)
Syntax\SyntaxTreeDiagnosticEnumerator.cs (8)
137
=> ArrayPool<NodeIteration>.Shared.Return(
_stack
, clearArray: true);
164
if (_count >=
_stack
.Length)
166
var tmp = ArrayPool<NodeIteration>.Shared.Rent(
_stack
.Length * 2);
167
Array.Copy(
_stack
, tmp,
_stack
.Length);
168
ArrayPool<NodeIteration>.Shared.Return(
_stack
, clearArray: true);
172
_stack
[_count] = new NodeIteration(node);
183
=> ref
_stack
[_count - 1];