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)
198Debug.Assert(_currentStackDepth >= 0, $"negative stack depth {instruction}"); 200if (_currentStackDepth > _maxStackDepth) 202_maxStackDepth = _currentStackDepth; 246public int CurrentStackDepth => _currentStackDepth;