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