206 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 (162)
Binder\Binder_Invocation.cs (2)
206invocations.Push(node); 210invocations.Push(node);
Binder\Binder_Operators.cs (2)
900syntaxNodes.Push(binOp); 1264stack.Push(current);
Binder\Binder_Patterns.cs (1)
1757binaryPatternStack.Push((currentNode, permitDesignations));
Binder\Binder_Statements.cs (1)
2591stack.Push((binder, node, condition, consequence));
Binder\DecisionDagBuilder.cs (30)
228testsToSimplify.Push(tests); 237testsToAssemble.Push(seq); 238testsToSimplify.Push(null); // marker to indicate we need to reassemble after handling children 243testsSimplified.Push(current); 251testsSimplified.Push(current); 255testsSimplified.Push(Tests.True.Instance); 262testsSimplified.Push(current); 265testsToAssemble.Push(n); 266testsToSimplify.Push(null); // marker to indicate we need to reassemble after handling children 267testsToSimplify.Push(n.Negated); 282testsSimplified.Push(seq.Update(newSequence)); 286testsSimplified.Push(Tests.Not.Create(testsSimplified.Pop())); 701binaryPatternStack.Push(currentNode); 2389testsToFilter.Push(this); 2398testsToAssemble.Push(seq); 2399testsToFilter.Push(null); // marker to indicate we need to reassemble after handling children 2403testsToFilter.Push(seq.RemainingTests[i]); 2416trueTests.Push(oneTrue); 2417falseTests.Push(oneFalse); 2446tests.Push(toAssemble.Update(newSequence)); 2456testsToRewrite.Push(this); 2465testsToAssemble.Push(seq); 2466testsToRewrite.Push(null); // marker to indicate we need to reassemble after handling children 2479testsRewritten.Push(toAssemble.Update(newSequence)); 2483testsRewritten.Push(current.RemoveEvaluation(e)); 2509testsToRewrite.Push(this); 2518testsToAssemble.Push(seq); 2519testsToRewrite.Push(null); // marker to indicate we need to reassemble after handling children 2532testsRewritten.Push(toAssemble.Update(newSequence)); 2536testsRewritten.Push(current.RewriteNestedLengthTests());
Binder\DecisionDagBuilder_CheckOrReachability.cs (7)
466stack.Push(current); 549stack.Push(current); 735stack.Push(new BoundBinaryPattern(operationSyntax, disjunction, left, right, left.InputType, narrowedType)); 739stack.Push(WithInputTypeCheckIfNeeded(operand, inputType)); 832stack.Push(current); 882_evalSequence.Push(OperandOrOperation.CreateOperation(disjunction, syntax)); 907_evalSequence.Push(OperandOrOperation.CreateOperand(_makeEvaluationSequenceOperand?.Invoke(pattern) ?? pattern));
Binder\ExpressionVariableFinder.cs (4)
328operands.Push(binOp.Right); 352rightPatternStack.Push(binaryPattern.Right); 370invocations.Push(node); 375invocations.Push(node);
Binder\LocalBinderFactory.cs (2)
247invocations.Push(node); 252invocations.Push(node);
Binder\PatternExplainer.cs (7)
131stack.Push(currentNode); 154pathBuilder.Push(currentNode); 162stack.Push(null); // marker to pop from pathBuilder 169stack.Push(test.WhenFalse); 174stack.Push(test.WhenTrue); 183stack.Push(null); // marker to pop from pathBuilder 184stack.Push(evaluation.Next);
Binder\RefSafetyAnalysis.cs (2)
765calls.Push((node, methodInvocationInfo)); 772calls.Push((node, methodInvocationInfo));
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 (3)
40stack.Push((node, rewrittenCondition, rewrittenConsequence)); 82stack.Push(currentBinary); 146stack.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)
1716calls.Push(call); 1721calls.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); 2089stack.Push(node); 2095stack.Push(binary); 2229calls.Push(node); 2234calls.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 (7)
227namespacesAndTopLevelTypesToProcess.Push(SourceModule.GlobalNamespace); 247namespacesAndTopLevelTypesToProcess.Push((NamespaceOrTypeSymbol)member); 261typesToProcess.Push(typeDefinition); 335typesToProcess.Push(nestedTypeDefinition); 827stack.Push((originalDefinition, -1)); 874stack.Push((groupingTypes[i], index)); 937stack.Push((nested[i], index));
FlowAnalysis\AbstractFlowPass.cs (6)
1087stack.Push(binaryPattern); 1348calls.Push(node); 1353calls.Push(node); 1798stack.Push((trueState, node)); 2452stack.Push(binary); 2572stack.Push(binary);
FlowAnalysis\DefiniteAssignment.cs (1)
2066stack.Push((pat, definitely));
FlowAnalysis\NullableWalker.cs (2)
6513calls.Push(node); 6522calls.Push(node);
FlowAnalysis\NullableWalker_Patterns.cs (1)
120stack.Push(current);
FlowAnalysis\VariablesDeclaredWalker.cs (1)
143stack.Push(binaryPattern);
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)
584stack.Push(current);
Operations\CSharpOperationFactory.cs (3)
1460stack.Push(currentBinary); 1800stack.Push(boundIfStatement); 2647stack.Push(current);
Parser\LanguageParser.cs (5)
9877stack.Push((ifKeyword, openParen, condition, closeParen, consequence, elseKeyword)); 11546stack.Push(expression); 11563stack.Push(child); 14459stack.Push(node); 14474stack.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\SyntaxExtensions.cs (13)
405stack.Push(type); 426stack.Push(arrayTypeSyntax.RankSpecifiers[i]); 428stack.Push(arrayTypeSyntax.ElementType); 432stack.Push(nullableTypeSyntax.ElementType); 436stack.Push(pointerTypeSyntax.ElementType); 444stack.Push(paramType); 451stack.Push(tupleTypeSyntax.Elements[i].Type); 456stack.Push(refTypeSyntax.Type); 460stack.Push(scopedTypeSyntax.Type); 466stack.Push(genericNameSyntax.TypeArgumentList.Arguments[i]); 471stack.Push(qualifiedNameSyntax.Right); 472stack.Push(qualifiedNameSyntax.Left); 476stack.Push(aliasQualifiedNameSyntax.Name);
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);