19 references to StackDepth
Microsoft.CodeAnalysis.CSharp (19)
CodeGen\Optimizer.cs (19)
465int prevStack = StackDepth(); 553return StackDepth() == 0; 574var origStack = StackDepth(); 690var declarationStack = StackDepth(); 1112int prevStack = StackDepth(); 1453var origStack = StackDepth(); 1502int prevStack = StackDepth(); 1551var origStack = StackDepth(); 1571var origStack = StackDepth(); 1588var origStack = StackDepth(); 1620var origStack = StackDepth(); 1657var origStack = StackDepth(); 1703int prevStack = StackDepth(); 1817_locals.Add(dummy, LocalDefUseInfo.GetInstance(StackDepth())); 1841_locals.Add(dummy, LocalDefUseInfo.GetInstance(StackDepth())); 1910if (locInfo.StackAtDeclaration != StackDepth() && 1921Debug.Assert(local == empty || locInfo.StackAtDeclaration == StackDepth()); 1947Debug.Assert(local == empty || locInfo.StackAtDeclaration == StackDepth()); 1970var evalStack = StackDepth() - 1;