18 references to StackDepth
Microsoft.CodeAnalysis.CSharp (18)
CodeGen\Optimizer.cs (18)
465
int prevStack =
StackDepth
();
553
return
StackDepth
() == 0;
574
var origStack =
StackDepth
();
689
var declarationStack =
StackDepth
();
1386
var origStack =
StackDepth
();
1435
int prevStack =
StackDepth
();
1484
var origStack =
StackDepth
();
1504
var origStack =
StackDepth
();
1521
var origStack =
StackDepth
();
1553
var origStack =
StackDepth
();
1590
var origStack =
StackDepth
();
1636
int prevStack =
StackDepth
();
1750
_locals.Add(dummy, LocalDefUseInfo.GetInstance(
StackDepth
()));
1774
_locals.Add(dummy, LocalDefUseInfo.GetInstance(
StackDepth
()));
1843
if (locInfo.StackAtDeclaration !=
StackDepth
() &&
1854
Debug.Assert(local == empty || locInfo.StackAtDeclaration ==
StackDepth
());
1880
Debug.Assert(local == empty || locInfo.StackAtDeclaration ==
StackDepth
());
1903
var evalStack =
StackDepth
() - 1;