7 references to CurrentStackDepth
System.Linq.Expressions (7)
System\Linq\Expressions\Interpreter\BranchLabel.cs (1)
54
_stackDepth = instructions.
CurrentStackDepth
;
System\Linq\Expressions\Interpreter\LightCompiler.cs (6)
329
Debug.Assert(_instructions.
CurrentStackDepth
== (node.ReturnType != typeof(void) ? 1 : 0));
2980
int startingStackDepth = _instructions.
CurrentStackDepth
;
3009
Debug.Assert(_instructions.
CurrentStackDepth
== startingStackDepth);
3027
int startingStackDepth = _instructions.
CurrentStackDepth
;
3099
Debug.Assert(_instructions.
CurrentStackDepth
== startingStackDepth + (expr.Type == typeof(void) ? 0 : 1),
3100
$"{_instructions.
CurrentStackDepth
} vs {startingStackDepth + (expr.Type == typeof(void) ? 0 : 1)} for {expr.NodeType}");