4 writes to _stackPointer
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\Intermediate\IntermediateNodeWalker.Stack.cs (4)
41
_stack[--
_stackPointer
] = node;
48
_stack[
_stackPointer
++] = null!;
58
_stackPointer
= _stack.Length;
71
_stackPointer
= length;
4 references to _stackPointer
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\Intermediate\IntermediateNodeWalker.Stack.cs (4)
27
=> _stack is null ||
_stackPointer
== _stack.Length;
32
: _stack.AsSpan()[
_stackPointer
..];
36
if (_stack is null ||
_stackPointer
== 0)
64
Debug.Assert(
_stackPointer
== 0, "We should only grow the ancestor stack when the stack pointer reaches 0.");