4 writes to _currentStackDepth
System.Linq.Expressions (4)
System\Linq\Expressions\Interpreter\InstructionList.cs (4)
197
_currentStackDepth
-= instruction.ConsumedStack;
199
_currentStackDepth
+= instruction.ProducedStack;
225
_currentStackDepth
-= instruction.ProducedStack;
226
_currentStackDepth
+= instruction.ConsumedStack;
4 references to _currentStackDepth
System.Linq.Expressions (4)
System\Linq\Expressions\Interpreter\InstructionList.cs (4)
198
Debug.Assert(
_currentStackDepth
>= 0, $"negative stack depth {instruction}");
200
if (
_currentStackDepth
> _maxStackDepth)
202
_maxStackDepth =
_currentStackDepth
;
246
public int CurrentStackDepth =>
_currentStackDepth
;