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