19 references to StackDepth
Microsoft.CodeAnalysis.CSharp (19)
CodeGen\Optimizer.cs (19)
464int prevStack = StackDepth(); 552return StackDepth() == 0; 573var origStack = StackDepth(); 689var declarationStack = StackDepth(); 1111int prevStack = StackDepth(); 1452var origStack = StackDepth(); 1501int prevStack = StackDepth(); 1550var origStack = StackDepth(); 1570var origStack = StackDepth(); 1587var origStack = StackDepth(); 1619var origStack = StackDepth(); 1656var origStack = StackDepth(); 1702int prevStack = StackDepth(); 1816_locals.Add(dummy, LocalDefUseInfo.GetInstance(StackDepth())); 1840_locals.Add(dummy, LocalDefUseInfo.GetInstance(StackDepth())); 1909if (locInfo.StackAtDeclaration != StackDepth() && 1920Debug.Assert(local == empty || locInfo.StackAtDeclaration == StackDepth()); 1946Debug.Assert(local == empty || locInfo.StackAtDeclaration == StackDepth()); 1969var evalStack = StackDepth() - 1;