220 references to Push
Microsoft.CodeAnalysis (40)
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);
Operations\ControlFlowGraphBuilder.cs (14)
260toVisit.Push(blocks[firstBlockOrdinal]); 269outOfRangeBlocksToVisit.Push(current); 1734_evalStack.Push((frame, operationOpt: null)); 1967_evalStack.Push((frameOpt: null, operation)); 2219stack.Push((operation, PushStackFrame())); 2805stack.Push((condition, dest, jumpIfTrue)); 2827stack.Push((null, fallThrough, true)); // This is a special entry to indicate that it is time to append the fallThrough block 2828stack.Push((skipParenthesized(binOp.RightOperand), top.dest, top.jumpIfTrue)); 2829stack.Push((skipParenthesized(binOp.LeftOperand), fallThrough, !top.jumpIfTrue)); 2837stack.Push((skipParenthesized(binOp.RightOperand), top.dest, top.jumpIfTrue)); 2838stack.Push((skipParenthesized(binOp.LeftOperand), top.dest, top.jumpIfTrue)); 3406operations.Push(testExpression); 6979stack.Push(current); 7621stack.Push(current);
Operations\OperationExtensions.cs (3)
99stack.Push(operation.ChildOperations.GetEnumerator()); 113stack.Push(iterator); 119stack.Push(current.ChildOperations.GetEnumerator());
ReferenceManager\CommonReferenceManager.Binding.cs (1)
308referenceBindingsToProcess.Push((resolvedReference, new ArraySegment<AssemblyReferenceBinding>(referenceBinding)));
Syntax\GreenNode.cs (2)
653stack.Push((this, leading, trailing)); 694stack.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)
246_discriminatorStack.Push(Which.Node); 291_discriminatorStack.Push(Which.Node); 299_discriminatorStack.Push(Which.Trivia); 306_discriminatorStack.Push(Which.Trivia); 342_discriminatorStack.Push(Which.Node); 396_discriminatorStack.Push(Which.Node); 404_discriminatorStack.Push(Which.Trivia); 411_discriminatorStack.Push(Which.Trivia); 418_tokenStack.Push(value); 419_discriminatorStack.Push(Which.Token);
Microsoft.CodeAnalysis.CSharp (179)
Binder\Binder_Invocation.cs (2)
206invocations.Push(node); 210invocations.Push(node);
Binder\Binder_Operators.cs (2)
898syntaxNodes.Push(binOp); 1256stack.Push(current);
Binder\Binder_Patterns.cs (1)
2675binaryPatternStack.Push((currentNode, currentPermitDesignations));
Binder\Binder_Statements.cs (1)
2593stack.Push((binder, node, condition, consequence));
Binder\DecisionDagBuilder_CheckOrReachability.cs (7)
474stack.Push(current); 557stack.Push(current); 743stack.Push(new BoundBinaryPattern(operationSyntax, disjunction, left, right, left.InputType, narrowedType)); 747stack.Push(WithInputTypeCheckIfNeeded(operand, inputType)); 841stack.Push(current); 891_evalSequence.Push(OperandOrOperation.CreateOperation(disjunction, syntax)); 916_evalSequence.Push(OperandOrOperation.CreateOperand(_makeEvaluationSequenceOperand?.Invoke(pattern) ?? pattern));
Binder\DecisionDagBuilder.cs (43)
236testsToSimplify.Push(tests); 245testsToAssemble.Push(seq); 246testsToSimplify.Push(null); // marker to indicate we need to reassemble after handling children 251testsSimplified.Push(current); 259testsSimplified.Push(current); 263testsSimplified.Push(Tests.True.Instance); 270testsSimplified.Push(current); 273testsToAssemble.Push(n); 274testsToSimplify.Push(null); // marker to indicate we need to reassemble after handling children 275testsToSimplify.Push(n.Negated); 290testsSimplified.Push(seq.Update(newSequence)); 294testsSimplified.Push(Tests.Not.Create(testsSimplified.Pop())); 1116binaryPatternStack.Push(currentNode); 4077testsToFilter.Push(this); 4086testsToAssemble.Push(seq); 4087testsToFilter.Push(null); // marker to indicate we need to reassemble after handling children 4091testsToFilter.Push(seq.RemainingTests[i]); 4104trueTests.Push(oneTrue); 4105falseTests.Push(oneFalse); 4134tests.Push(toAssemble.Update(newSequence)); 4154testsToRewrite.Push((this, SkipRewrite: false)); 4164testsToAssemble.Push((seq is AndSequence ? ReassembleKind.And : ReassembleKind.Or, remainingTests.Length, tempMap)); 4165testsToRewrite.Push((null, false)); // marker to indicate we need to reassemble after handling children 4170testsToRewrite.Push((seq.RemainingTests[i], SkipRewrite: false)); 4193testsRewritten.Push(kind is ReassembleKind.And ? AndSequence.Create(newSequence) : OrSequence.Create(newSequence)); 4204testsRewritten.Push(current); 4214testsRewritten.Push(rewriteResult.FinalResult); 4223testsRewritten.Push(current.RemoveEvaluationAndUpdateTempReferences(dagBuilder, state, bindings, tempMap, e)); 4251testsRewritten.Push(rewriteResult.FinalResult); 4309testsToRewrite.Push((null, false)); // marker to indicate we need to reassemble after handling children 4321testsToRewrite.Push((null, false)); // marker to indicate we need to reassemble after handling children 4325testsToRewrite.Push((leftToRewriteBuilder![i], SkipRewrite: false)); 4328testsToRewrite.Push((rewriteResult.TempsUpdatedResult, SkipRewrite: true)); 4329testsToRewrite.Push((Not.Create(rewriteResult.ConditionToUseFinalResult), SkipRewrite: true)); 4338testsToRewrite.Push((null, false)); // marker to indicate we need to reassemble after handling children 4342testsToRewrite.Push((leftToRewriteBuilder![i], SkipRewrite: false)); 4345testsToRewrite.Push((rewriteResult.FinalResult, SkipRewrite: true)); 4346testsToRewrite.Push((rewriteResult.ConditionToUseFinalResult, SkipRewrite: true)); 4375testsToRewrite.Push(this); 4384testsToAssemble.Push(seq); 4385testsToRewrite.Push(null); // marker to indicate we need to reassemble after handling children 4398testsRewritten.Push(toAssemble.Update(newSequence)); 4402testsRewritten.Push(current.RewriteNestedLengthTests());
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)
153stack.Push(currentNode); 176pathBuilder.Push(currentNode); 184stack.Push(null); // marker to pop from pathBuilder 191stack.Push(test.WhenFalse); 196stack.Push(test.WhenTrue); 205stack.Push(null); // marker to pop from pathBuilder 206stack.Push(evaluation.Next);
Binder\RefSafetyAnalysis.cs (2)
782calls.Push((node, methodInvocationInfo)); 789calls.Push((node, methodInvocationInfo));
Binder\UnionMatchingRewriter.cs (3)
236binaryPatternStack.Push(currentNode); 344stack.Push(rightUnionPattern); 348stack.Push(other);
BoundTree\BoundNodeExtensions.cs (2)
163stack.Push(current); 245stack.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); 147stack.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)
1727calls.Push(call); 1732calls.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)
1126calls.Push(node); 1131calls.Push(node); 1495stack.Push(node); 1501stack.Push(binary); 2138stack.Push(node); 2144stack.Push(binary); 2278calls.Push(node); 2283calls.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)
1088stack.Push(binaryPattern); 1349calls.Push(node); 1354calls.Push(node); 1797stack.Push((trueState, node)); 2452stack.Push(binary); 2572stack.Push(binary);
FlowAnalysis\DefiniteAssignment.cs (1)
2067stack.Push((pat, definitely));
FlowAnalysis\NullableWalker_Patterns.cs (1)
122stack.Push(current);
FlowAnalysis\NullableWalker.cs (2)
6783calls.Push(node); 6792calls.Push(node);
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)
490calls.Push(node); 495calls.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)
1535stack.Push(currentBinary); 1875stack.Push(boundIfStatement); 2722stack.Push(current);
Parser\LanguageParser.cs (5)
10095stack.Push((ifKeyword, openParen, condition, closeParen, consequence, elseKeyword)); 11772stack.Push(expression); 11789stack.Push(child); 14738stack.Push(node); 14753stack.Push(child);
Symbols\Compilation_UsedAssemblies.cs (1)
96stack.Push(dependency);
Symbols\MetadataOrSourceOrRetargetingAssemblySymbol.cs (1)
134queue.Push(referencedAssembly);
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.Scripting (1)
Hosting\ObjectFormatter\CommonTypeNameFormatter.cs (1)
80stack.Push(typeInfo.Name);