142 references to Push
Microsoft.CodeAnalysis (41)
CodeGen\ILBuilder.cs (1)
285reachableBlocks.Push(block);
CodeGen\SwitchIntegralJumpTableEmitter.cs (1)
221switchBucketsStack.Push(newBucket);
Collections\TopologicalSort.cs (3)
58ready.Push(node); 79ready.Push(succ); 127toCount.Push(succ);
FileSystem\PathUtilities.cs (1)
862resolvedParts.Push(part);
Operations\ControlFlowGraphBuilder.cs (14)
252toVisit.Push(blocks[firstBlockOrdinal]); 261outOfRangeBlocksToVisit.Push(current); 1725_evalStack.Push((frame, operationOpt: null)); 1957_evalStack.Push((frameOpt: null, operation)); 2209stack.Push((operation, PushStackFrame())); 2795stack.Push((condition, dest, jumpIfTrue)); 2817stack.Push((null, fallThrough, true)); // This is a special entry to indicate that it is time to append the fallThrough block 2818stack.Push((skipParenthesized(binOp.RightOperand), top.dest, top.jumpIfTrue)); 2819stack.Push((skipParenthesized(binOp.LeftOperand), fallThrough, !top.jumpIfTrue)); 2827stack.Push((skipParenthesized(binOp.RightOperand), top.dest, top.jumpIfTrue)); 2828stack.Push((skipParenthesized(binOp.LeftOperand), top.dest, top.jumpIfTrue)); 3396operations.Push(testExpression); 6946stack.Push(current); 7579stack.Push(current);
Operations\OperationExtensions.cs (3)
97stack.Push(operation.ChildOperations.GetEnumerator()); 111stack.Push(iterator); 117stack.Push(current.ChildOperations.GetEnumerator());
ReferenceManager\CommonReferenceManager.Binding.cs (1)
308referenceBindingsToProcess.Push((resolvedReference, new ArraySegment<AssemblyReferenceBinding>(referenceBinding)));
Syntax\GreenNode.cs (2)
636stack.Push((this, leading, trailing)); 677stack.Push((child, currentLeading | !first, currentTrailing | !last));
Syntax\GreenNode.NodeEnumerable.cs (3)
33_stack.Push(node.ChildNodesAndTokens().GetEnumerator()); 66_stack.Push(currentEnumerator); 70_stack.Push(_current.ChildNodesAndTokens().GetEnumerator());
Syntax\SyntaxNode.cs (2)
458stack.Push(this.Green); 489stack.Push(current.GetSlot(i));
Syntax\SyntaxNode.Iterators.cs (10)
206_discriminatorStack.Push(Which.Node); 252_discriminatorStack.Push(Which.Node); 260_discriminatorStack.Push(Which.Trivia); 267_discriminatorStack.Push(Which.Trivia); 300_discriminatorStack.Push(Which.Node); 355_discriminatorStack.Push(Which.Node); 363_discriminatorStack.Push(Which.Trivia); 370_discriminatorStack.Push(Which.Trivia); 377_tokenStack.Push(value); 378_discriminatorStack.Push(Which.Token);
Microsoft.CodeAnalysis.CSharp (98)
Binder\Binder_Invocation.cs (2)
205invocations.Push(node); 209invocations.Push(node);
Binder\Binder_Operators.cs (2)
864syntaxNodes.Push(binOp); 1221stack.Push(current);
Binder\Binder_Statements.cs (1)
2562stack.Push((binder, node, condition, consequence));
Binder\DecisionDagBuilder.cs (1)
655binaryPatternStack.Push(currentNode);
Binder\ExpressionVariableFinder.cs (2)
370invocations.Push(node); 375invocations.Push(node);
Binder\LocalBinderFactory.cs (2)
247invocations.Push(node); 252invocations.Push(node);
Binder\PatternExplainer.cs (1)
127pathBuilder.Push(currentNode);
BoundTree\BoundNodeExtensions.cs (2)
161stack.Push(current); 243stack.Push(current);
BoundTree\BoundTreeRewriter.cs (6)
256stack.Push(node); 262stack.Push(binary); 305stack.Push(node); 310stack.Push(ifStatement); 350stack.Push(node); 356stack.Push(binary);
BoundTree\BoundTreeWalker.cs (8)
114rightOperands.Push(node.Right); 117rightOperands.Push(binary.Right); 125rightOperands.Push(binary.Right); 154rightOperands.Push(node.Right); 155rightOperands.Push(binary.Right); 162rightOperands.Push(binary.Right); 185calls.Push(node); 191calls.Push(node);
BoundTree\NullabilityRewriter.cs (2)
40stack.Push((node, rewrittenCondition, rewrittenConsequence)); 82stack.Push(currentBinary);
CodeGen\EmitArrayInitializer.cs (2)
146indices.Push(new IndexDesc(i, ((BoundArrayInitialization)inits[i]).Initializers)); 180indices.Push(new IndexDesc(i, ((BoundArrayInitialization)inits[i]).Initializers));
CodeGen\EmitExpression.cs (2)
1705calls.Push(call); 1710calls.Push(call);
CodeGen\EmitOperators.cs (2)
111stack.Push(expression); 115stack.Push(binary);
CodeGen\EmitStatement.cs (6)
428stack.Push((binOp, destBox, sense)); 456stack.Push((null, fallThrough, true)); // This is a special entry to indicate that it is time to append the fallThrough block 457stack.Push((binary.Right, top.destBox, top.sense)); 458stack.Push((binary.Left, fallThrough, !top.sense)); 466stack.Push((binary.Right, top.destBox, top.sense)); 467stack.Push((binary.Left, top.destBox, top.sense));
CodeGen\Optimizer.cs (8)
1124calls.Push(node); 1129calls.Push(node); 1493stack.Push(node); 1499stack.Push(binary); 2087stack.Push(node); 2093stack.Push(binary); 2226calls.Push(node); 2231calls.Push(node);
Compilation\MemberSemanticModel.NodeMapBuilder.cs (4)
198stack.Push(binOp.Right); 209stack.Push(binOp.Right); 227stack.Push(binaryPattern.Right); 238stack.Push(binaryPattern.Right);
Emitter\Model\PEModuleBuilder.cs (6)
223namespacesAndTopLevelTypesToProcess.Push(SourceModule.GlobalNamespace); 243namespacesAndTopLevelTypesToProcess.Push((NamespaceOrTypeSymbol)member); 257typesToProcess.Push(typeDefinition); 331typesToProcess.Push(nestedTypeDefinition); 768stack.Push((originalDefinition, -1)); 792stack.Push((nested[i], index));
FlowAnalysis\AbstractFlowPass.cs (6)
1087stack.Push(binaryPattern); 1348calls.Push(node); 1353calls.Push(node); 1797stack.Push((trueState, node)); 2450stack.Push(binary); 2570stack.Push(binary);
FlowAnalysis\DefiniteAssignment.cs (1)
2115stack.Push((pat, definitely));
FlowAnalysis\NullableWalker.cs (2)
6462calls.Push(node); 6471calls.Push(node);
FlowAnalysis\NullableWalker_Patterns.cs (1)
120stack.Push(current);
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (2)
361_labelsInScope.Push(ArrayBuilder<LabelSymbol>.GetInstance()); 739_labelsInScope.Push(ArrayBuilder<LabelSymbol>.GetInstance());
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
488calls.Push(node); 493calls.Push(node);
Lowering\ExtensionMethodReferenceRewriter.cs (2)
45calls.Push(node); 50calls.Push(node);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
101_lazyPreviousContextVariables.Push(ContextVariable);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
151stack.Push(current);
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
347calls.Push(node); 352calls.Push(node);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (2)
195stack.Push(utf8Addition.Right); 196stack.Push(utf8Addition.Left);
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (1)
43stack.Push((node, afterif, builder.Count));
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
537stack.Push(current);
Operations\CSharpOperationFactory.cs (3)
1460stack.Push(currentBinary); 1809stack.Push(boundIfStatement); 2656stack.Push(current);
Parser\LanguageParser.cs (4)
9685stack.Push((ifKeyword, openParen, condition, closeParen, consequence, elseKeyword)); 11375stack.Push(child); 14279stack.Push(node); 14294stack.Push(child);
Symbols\Compilation_UsedAssemblies.cs (1)
96stack.Push(dependency);
Symbols\Source\ConstantEvaluationHelpers.cs (4)
106pending.Push(field); 139pending.Push(dependency); 300stack.Push(field); 317stack.Push(dependency);
Syntax\SyntaxFacts.cs (2)
578stack.Push(node.Green); 604stack.Push(child);
Utilities\ValueSetFactory.NumericValueSet.cs (1)
220builder.Push(oldLastInterval);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
PDB\PdbHelpers.cs (2)
42stack.Push(root); 55stack.Push(nested);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\CommonTypeNameFormatter.cs (1)
80stack.Push(typeInfo.Name);