163 references to Push
Microsoft.CodeAnalysis (37)
CodeGen\ILBuilder.cs (1)
277reachableBlocks.Push(block);
CodeGen\SwitchIntegralJumpTableEmitter.cs (1)
214switchBucketsStack.Push(newBucket);
Collections\TopologicalSort.cs (3)
42ready.Push(node); 59ready.Push(succ); 100toCount.Push(succ);
FileSystem\PathUtilities.cs (1)
812resolvedParts.Push(part);
Operations\ControlFlowGraphBuilder.cs (13)
252toVisit.Push(blocks[firstBlockOrdinal]); 261outOfRangeBlocksToVisit.Push(current); 1719_evalStack.Push((frame, operationOpt: null)); 1951_evalStack.Push((frameOpt: null, operation)); 2192stack.Push((operation, PushStackFrame())); 2778stack.Push((condition, dest, jumpIfTrue)); 2800stack.Push((null, fallThrough, true)); // This is a special entry to indicate that it is time to append the fallThrough block 2801stack.Push((skipParenthesized(binOp.RightOperand), top.dest, top.jumpIfTrue)); 2802stack.Push((skipParenthesized(binOp.LeftOperand), fallThrough, !top.jumpIfTrue)); 2810stack.Push((skipParenthesized(binOp.RightOperand), top.dest, top.jumpIfTrue)); 2811stack.Push((skipParenthesized(binOp.LeftOperand), top.dest, top.jumpIfTrue)); 3379operations.Push(testExpression); 6708stack.Push(current);
Operations\OperationExtensions.cs (3)
97stack.Push(((Operation)operation).ChildOperations.GetEnumerator()); 111stack.Push(iterator); 117stack.Push(((Operation)current).ChildOperations.GetEnumerator());
ReferenceManager\CommonReferenceManager.Binding.cs (1)
299referenceBindingsToProcess.Push((resolvedReference, new ArraySegment<AssemblyReferenceBinding>(referenceBinding)));
Syntax\GreenNode.cs (2)
658stack.Push((this, leading, trailing)); 699stack.Push((child, currentLeading | !first, currentTrailing | !last));
Syntax\SyntaxNode.cs (2)
454stack.Push(this.Green); 485stack.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 (68)
Binder\Binder_Operators.cs (2)
465syntaxNodes.Push(binOp); 741stack.Push(current);
Binder\DecisionDagBuilder.cs (2)
808workList.Push(existingState); 818workList.Push(state);
Binder\ExpressionVariableFinder.cs (1)
337operands.Push(binOp.Right);
Binder\PatternExplainer.cs (1)
127pathBuilder.Push(currentNode);
BoundTree\BoundNodeExtensions.cs (2)
161stack.Push(current); 243stack.Push(current);
BoundTree\BoundTreeRewriter.cs (2)
120stack.Push(node); 126stack.Push(binary);
BoundTree\BoundTreeWalker.cs (3)
113rightOperands.Push(node.Right); 117rightOperands.Push(binary.Right); 124rightOperands.Push(binary.Right);
BoundTree\NullabilityRewriter.cs (1)
39stack.Push(currentBinary);
CodeGen\EmitArrayInitializer.cs (2)
145indices.Push(new IndexDesc(i, ((BoundArrayInitialization)inits[i]).Initializers)); 179indices.Push(new IndexDesc(i, ((BoundArrayInitialization)inits[i]).Initializers));
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 (4)
1417stack.Push(node); 1423stack.Push(binary); 2011stack.Push(node); 2017stack.Push(binary);
Compilation\MemberSemanticModel.NodeMapBuilder.cs (2)
200stack.Push(binOp.Right); 211stack.Push(binOp.Right);
Emitter\Model\PEModuleBuilder.cs (6)
221namespacesAndTopLevelTypesToProcess.Push(SourceModule.GlobalNamespace); 241namespacesAndTopLevelTypesToProcess.Push((NamespaceOrTypeSymbol)member); 255typesToProcess.Push(typeDefinition); 324typesToProcess.Push(nestedTypeDefinition); 749stack.Push((originalDefinition, -1)); 773stack.Push((nested[i], index));
FlowAnalysis\AbstractFlowPass.cs (2)
2252stack.Push(binary); 2351stack.Push(binary);
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (2)
343_labelsInScope.Push(ArrayBuilder<LabelSymbol>.GetInstance()); 719_labelsInScope.Push(ArrayBuilder<LabelSymbol>.GetInstance());
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
101_lazyPreviousContextVariables.Push(ContextVariable);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
142stack.Push(current);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (2)
190stack.Push(utf8Addition.Right); 191stack.Push(utf8Addition.Left);
Operations\CSharpOperationFactory.cs (1)
1393stack.Push(currentBinary);
Parser\LanguageParser.cs (2)
13201stack.Push(node); 13216stack.Push(child);
Symbols\Compilation_UsedAssemblies.cs (1)
99stack.Push(dependency);
Symbols\Source\ConstantEvaluationHelpers.cs (4)
106pending.Push(field); 139pending.Push(dependency); 300stack.Push(field); 317stack.Push(dependency);
Syntax\SyntaxExtensions.cs (13)
406stack.Push(type); 427stack.Push(arrayTypeSyntax.RankSpecifiers[i]); 429stack.Push(arrayTypeSyntax.ElementType); 433stack.Push(nullableTypeSyntax.ElementType); 437stack.Push(pointerTypeSyntax.ElementType); 445stack.Push(paramType); 452stack.Push(tupleTypeSyntax.Elements[i].Type); 457stack.Push(refTypeSyntax.Type); 461stack.Push(scopedTypeSyntax.Type); 467stack.Push(genericNameSyntax.TypeArgumentList.Arguments[i]); 472stack.Push(qualifiedNameSyntax.Right); 473stack.Push(qualifiedNameSyntax.Left); 477stack.Push(aliasQualifiedNameSyntax.Name);
Syntax\SyntaxFacts.cs (2)
563stack.Push(node.Green); 589stack.Push(child);
Utilities\ValueSetFactory.NumericValueSet.cs (1)
223builder.Push(oldLastInterval);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
CompilationContext.cs (1)
788stack.Push(@namespace.Name);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
PDB\PdbHelpers.cs (2)
42stack.Push(root); 55stack.Push(nested);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\CommonTypeNameFormatter.cs (1)
81stack.Push(typeInfo.Name);
Microsoft.CodeAnalysis.VisualBasic (52)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2114stack.Push(binary)
Binding\BinderBuilder.vb (3)
187namespaces.Push(nsSymbol) 240types.Push(typeSymbol) 245types.Push(typeSymbol)
Binding\MemberSemanticModel.vb (3)
2225rightOperands.Push(node.Right) 2233rightOperands.Push(binary.Right) 2244rightOperands.Push(binary.Right)
BoundTree\BoundTreeRewriter.vb (2)
115stack.Push(node) 120stack.Push(binary)
BoundTree\BoundTreeWalker.vb (3)
83rightOperands.Push(node.Right) 87rightOperands.Push(binary.Right) 93rightOperands.Push(binary.Right)
CodeGen\EmitArrayInitializer.vb (2)
117indices.Push(New IndexDesc(i, DirectCast(inits(i), BoundArrayInitialization).Initializers)) 148indices.Push(New IndexDesc(i, DirectCast(inits(i), BoundArrayInitialization).Initializers))
CodeGen\EmitOperators.vb (2)
154stack.Push(expression) 157stack.Push(binary)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
912stack.Push(node) 917stack.Push(binary)
CodeGen\Optimizer\StackScheduler.Rewriter.vb (2)
69stack.Push(node) 74stack.Push(binary)
Emit\PEModuleBuilder.vb (6)
554stack.Push((originalDefinition, -1)) 572stack.Push((nested(i), index)) 650namespacesAndTopLevelTypesToProcess.Push(SourceModule.GlobalNamespace) 669namespacesAndTopLevelTypesToProcess.Push(DirectCast(member, NamespaceOrTypeSymbol)) 684typesToProcess.Push(typeDefinition) 734typesToProcess.Push(nestedTypeDefinition)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (2)
99stack.Push((node, optimizeForConditionalBranch)) 113stack.Push((binary, optimizeChildForConditionalBranch))
Operations\VisualBasicOperationFactory.vb (1)
556stack.Push(currentBinary)
Parser\BlockContexts\CompilationUnitContext.vb (14)
214_declarationBlocksBeingVisited.Push(node) 229_declarationBlocksBeingVisited.Push(node) 244_declarationBlocksBeingVisited.Push(node) 259_declarationBlocksBeingVisited.Push(node) 274_declarationBlocksBeingVisited.Push(node) 289_declarationBlocksBeingVisited.Push(node) 304_declarationBlocksBeingVisited.Push(node) 319_declarationBlocksBeingVisited.Push(node) 334_declarationBlocksBeingVisited.Push(node) 349_declarationBlocksBeingVisited.Push(node) 364_declarationBlocksBeingVisited.Push(node) 379_declarationBlocksBeingVisited.Push(node) 394_declarationBlocksBeingVisited.Push(node) 461_parentsOfRegionDirectivesAwaitingClosure.Push(containingBlock)
Symbols\Source\SourceFieldSymbol.vb (4)
291pending.Push(Me) 318pending.Push(dependency) 532stack.Push(field) 545stack.Push(dependency)
Symbols\Source\SourceModuleSymbol.vb (2)
719stack.Push(ns) 741stack.Push(DirectCast(child, NamespaceOrTypeSymbol))
Symbols\UsedAssemblies.vb (1)
72stack.Push(dependency)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (1)
785conditionalAccessStack.Push(access)
Syntax\VisualBasicSyntaxNode.vb (1)
66stack.Push(current)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (2)
CompilationContext.vb (2)
578stack.Push(containingNamespace.Name) 621stack.Push(type)