9 references to Peek
Microsoft.CodeAnalysis (9)
CodeGen\SwitchIntegralJumpTableEmitter.cs (1)
200SwitchBucket prevBucket = switchBucketsStack.Peek();
Collections\ArrayBuilderExtensions.cs (1)
200var e = builder.Peek();
Operations\ControlFlowGraphBuilder.cs (5)
1237Debug.Assert(stackDepth == 0 || _evalStack.Peek().frameOpt != null); 1252Debug.Assert(stackDepth == 0 || _evalStack.Peek().frameOpt != null); 1396Debug.Assert(_evalStack.Count == 0 || _evalStack.Peek().frameOpt != null); 1405Debug.Assert(_evalStack.Count == 0 || _evalStack.Peek().frameOpt != null); 1981(EvalStackFrame? frameOpt, IOperation? operationOpt) = _evalStack.Peek();
Syntax\SyntaxNode.Iterators.cs (2)
219return _discriminatorStack.Peek(); 314return _discriminatorStack.Peek();