2 writes to _stack
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\Intermediate\IntermediateNodeWalker.Stack.cs (2)
57
_stack
= new IntermediateNode[InitialStackSize];
72
_stack
= newStack;
12 references to _stack
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\Intermediate\IntermediateNodeWalker.Stack.cs (12)
25
[MemberNotNullWhen(false, nameof(
_stack
))]
27
=>
_stack
is null || _stackPointer ==
_stack
.Length;
32
:
_stack
.AsSpan()[_stackPointer..];
36
if (
_stack
is null || _stackPointer == 0)
41
_stack
[--_stackPointer] = node;
48
_stack
[_stackPointer++] = null!;
51
[MemberNotNull(nameof(
_stack
))]
55
if (
_stack
== null)
58
_stackPointer =
_stack
.Length;
66
var length =
_stack
.Length;
69
_stack
.CopyTo(newStack, length);