1059 references to Push
aspire (4)
Utils\FileSystemHelper.cs (4)
30stack.Push((sourceDirInfo, destinationDir)); 50stack.Push((subDir, targetSubDir)); 71dirs.Push((root, 0)); 93dirs.Push((sub, depth + 1));
Aspire.Dashboard (2)
Model\Otlp\SpanWaterfallViewModel.cs (2)
95stack.Push(s); 104stack.Push(child);
Aspire.Hosting (2)
Orchestrator\RelationshipEvaluator.cs (1)
72visited.Push(child);
Pipelines\DistributedApplicationPipeline.cs (1)
813path.Push(stepName);
Aspire.Hosting.Docker (3)
src\Shared\Yaml\ForceQuotedStringsEventEmitter.cs (3)
40_state.Push(new(EmitterState.EventType.Root)); 85_state.Push(new(EmitterState.EventType.Mapping)); 122_state.Push(new(EmitterState.EventType.Sequence));
Aspire.Hosting.Kubernetes (3)
src\Shared\Yaml\ForceQuotedStringsEventEmitter.cs (3)
40_state.Push(new(EmitterState.EventType.Root)); 85_state.Push(new(EmitterState.EventType.Mapping)); 122_state.Push(new(EmitterState.EventType.Sequence));
ConfigurationSchemaGenerator (2)
ConfigSchemaEmitter.cs (2)
233_visitedTypes.Push(objectSpec); 313_visitedTypes.Push(collection);
dotnet (2)
Commands\Solution\Remove\SolutionRemoveCommand.cs (2)
108stack.Push(folder); 121stack.Push(childFolder);
dotnet-svcutil-lib (25)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (1)
562_stkNmsp.Push(new XPathNodeRef(_pageNmsp, _idxNmsp));
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (4)
488nodeStack.Push(this_); 551contextStack.Push(context); 651nodeStack.Push(this_); 735nodeStack.Push(this_);
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (2)
1044localFrames.Push(currentFrame); 1065localFrames.Push(currentFrame);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\precedingsibling.cs (1)
55inputStk.Push(currentNode.Clone());
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (10)
322_blockStack.Push(forState); 394_blockStack.Push(forState); 473_blockStack.Push(ifState); 490_blockStack.Push(ifState); 504_blockStack.Push(ifState); 1468_blockStack.Push(ifState); 1610_blockStack.Push(switchState); 1656_blockStack.Push(ifState); 1672_blockStack.Push(startWhile); 1679_blockStack.Push(startWhile);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InternalBufferManager.cs (1)
502_items.Push(buffer);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\SynchronizedPool.cs (1)
418_items.Push(value);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (5)
264state.StackedRetrievers.Push(retriever); 375resolveCallState.StackedRetrievers.Push(retriever); 509_stackedRetrievers.Push(retriever); 522_stackedRetrievers.Push(retriever); 594_stackedRetrievers.Push(retriever);
GenerateDocumentationAndConfigFiles (34)
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (6)
535_stack.Push(root); 570_stack!.Push(child); 653_stack.Push(root); 687_stack!.Push(child); 759_stack.Push(root); 793_stack!.Push(child);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
137_seenRethrowInCatchClauses.Push(false); 155_seenRethrowInCatchClauses.Push(true);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
648_stack.Push(root); 682stack.Push(child); 767_stack.Push(root); 800stack.Push(child); 873_stack.Push(root); 906stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (3)
89candidates.Push(root); 100candidates.Push(right); 103candidates.Push(left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
73_stack.Push(_currentNode!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
30stack.Push(v); 36stack.Push(v); 42stack.Push(v); 53stack.Push(range[i]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
879regionStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!); 885ifStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (2)
30stack.Push(node); 39stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (4)
86spineNodes.Push(root); 97spineNodes.Push(right); 107spineNodes.Push(left); 163spineNodes.Push(parentNode.Left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (2)
40stack.Push((node, leading: fullSpan, trailing: fullSpan)); 84stack.Push((child, currentLeading | !first, currentTrailing | !last));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
427_contextualSymbolStack.Push(contextualSymbol);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
61stack.Push(current);
ILAssembler (18)
EntityRegistry.cs (3)
689allTypeNames.Push(NameHelpers.SplitDottedNameToNamespaceAndName(containingType.DottedName)); 695allTypeNames.Push((typeRef.Namespace, typeRef.Name)); 1195containingTypes.Push(containingType);
GrammarVisitor.cs (6)
1015_currentTypeDefinition.Push(VisitClassHead(classHead).Value); 1195_currentTypeDefinition.Push(newTypeDef); 1333containingTypes.Push(containingType); 1714_currentNamespace.Push($"{_currentNamespace.PeekOrDefault()}.{namespaceName}"); 1721_currentTypeDefinition.Push(VisitClassHead(classHead).Value); 2252containingTypes.Push(containingType);
PreprocessedTokenSource.cs (9)
26_includeSourceStack.Push((underlyingSource, 0, null, 0)); 116_includeSourceStack.Push((_loadIncludedDocument(path), 0, currentFile, currentLine)); 159_activeIfDefBlocks.Push((identifier, expectedDefined, isElse)); 173_includeSourceStack.Push((source, --activeIfDef, includedFromFile, includedFromLine)); 200_activeIfDefBlocks.Push((identifier.Text, Defined: requireDefined, IsElse: false)); 202_includeSourceStack.Push((source, ++activeIfDef, includedFromFile, includedFromLine)); 244_activeIfDefBlocks.Push((var, Defined: !expectedDefined, IsElse: true)); 246_includeSourceStack.Push((source, ++activeIfDef, includedFromFile, includedFromLine)); 260_includeSourceStack.Push((source, --activeIfDef, includedFromFile, includedFromLine));
ILCompiler.Compiler (70)
Compiler\Dataflow\MethodBodyScanner.cs (26)
71stack.Push(new StackSlot()); // Push dummy values to avoid crashes. 78stack.Push(new StackSlot()); 117a.Push(new StackSlot()); 120b.Push(new StackSlot()); 128newStack.Push(MergeStackElement(aEnum.Current, bEnum.Current)); 413currentStack.Push(currentStack.Peek()); 417currentStack.Push(new StackSlot(NullValue.Instance)); 434currentStack.Push(slot); 442currentStack.Push(slot); 451currentStack.Push(slot); 460currentStack.Push(slot); 525currentStack.Push(slot); 631currentStack.Push(new StackSlot(ArrayValue.Create(count.Value, arrayElementType))); 866catchStack.Push(new StackSlot()); 898currentStack.Push(slot); 937currentStack.Push(newSlot); 947currentStack.Push(slot); 959currentStack.Push(new StackSlot(nullableDam)); 963currentStack.Push(new StackSlot(nullableType)); 973currentStack.Push(new StackSlot(typeHandle)); 982currentStack.Push(slot); 1117currentStack.Push(new StackSlot(value)); 1290currentStack.Push(new StackSlot(UnknownValue.Instance)); 1305currentStack.Push(new StackSlot(methodReturnValue)); 1397currentStack.Push(new StackSlot(arrayOfAnnotated.GetAnyElementValue())); 1425currentStack.Push(new StackSlot(arrayIndexValue.Value));
Compiler\ObjectWriter\Dwarf\DwarfInfoWriter.cs (1)
68_dieStack.Push(abbrev);
Compiler\SubstitutedILProvider.cs (29)
144offsetsToVisit.Push(0); 150offsetsToVisit.Push(ehRegion.FilterOffset); 152offsetsToVisit.Push(ehRegion.HandlerOffset); 190offsetsToVisit.Push(destination); 196offsetsToVisit.Push(reader.Offset); 220offsetsToVisit.Push(destination); 223offsetsToVisit.Push(reader.Offset); 243offsetsToVisit.Push(reader.Offset); 257offsetsToVisit.Push(0); 288offsetsToVisit.Push(ehRegion.FilterOffset); 303offsetsToVisit.Push(ehRegion.HandlerOffset); 323offsetsToVisit.Push(destination); 324offsetsToVisit.Push(reader.Offset); 331offsetsToVisit.Push(destination); 339offsetsToVisit.Push(reader.Offset); 350offsetsToVisit.Push(destination); 351offsetsToVisit.Push(reader.Offset); 358offsetsToVisit.Push(destination); 366offsetsToVisit.Push(reader.Offset); 373offsetsToVisit.Push(destination); 378offsetsToVisit.Push(reader.Offset); 395offsetsToVisit.Push(destination); 397offsetsToVisit.Push(reader.Offset); 702case ILOpcode.ldc_i4: stack.Push((int)reader.ReadILUInt32()); break; 703case ILOpcode.ldc_i4_s: stack.Push((sbyte)reader.ReadILByte()); break; 704case >= ILOpcode.ldc_i4_0 and <= ILOpcode.ldc_i4_8: stack.Push(opcode - ILOpcode.ldc_i4_0); break; 705case ILOpcode.ldc_i4_m1: stack.Push(-1); break; 710stack.Push(null); 761stack.Push(constant);
Compiler\TypePreinit.cs (7)
121recursionProtect.Push(callingMethod); 309stack.Push(stack.Peek()); 525recursionProtect.Push(methodIL.OwningMethod); 681recursionProtect.Push(methodIL.OwningMethod); 1000stack.Push(new StackEntry(StackValueKind.ValueType, new RuntimeFieldHandleValue(field))); 1004stack.Push(new StackEntry(StackValueKind.ValueType, new RuntimeTypeHandleValue(type))); 2042Push(new StackEntry(kind, val));
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\Graph.Cycles.cs (3)
58_inProgress.Push(vertex); 112_inProgress.Push(vertex); 139IterativeStrongConnectStack.Push(iterativeStackElement);
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\IL\NativeStructType.cs (1)
190typesBeingLookedAt.Push(managedStructType);
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (3)
499_indexStack.Push(0); 508_indexStack.Push(was + 1); 509_indexStack.Push(0);
ILCompiler.ReadyToRun (8)
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
3360_stashedPrecodeFixups.Push(_precodeFixups); 3362_stashedInlinedMethods.Push(_inlinedMethods);
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\Graph.Cycles.cs (3)
58_inProgress.Push(vertex); 112_inProgress.Push(vertex); 139IterativeStrongConnectStack.Push(iterativeStackElement);
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (3)
499_indexStack.Push(0); 508_indexStack.Push(was + 1); 509_indexStack.Push(0);
ILCompiler.TypeSystem (12)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaSignatureParser.cs (12)
95_indexStack.Push(was + 1); 96_indexStack.Push(0); 262_indexStack.Push(was + 1); 263_indexStack.Push(0); 306_indexStack.Push(was + 1); 307_indexStack.Push(0); 331_indexStack.Push(0); 341_indexStack.Push(was + 1); 342_indexStack.Push(0); 419_indexStack.Push(0); 471_indexStack.Push(1); 472_indexStack.Push(0);
illink (33)
ILLink.Tasks (5)
CreateRuntimeRootDescriptorFile.cs (5)
598activeSections.Push(null); 609activeSections.Push(!negativeIfDef); 611activeSections.Push(negativeIfDef); 627activeSections.Push(null); 629activeSections.Push(!activeSection.Value);
Microsoft.AspNetCore.Components (9)
Rendering\RenderTreeBuilder.cs (3)
58_openElementIndices.Push(_entries.Count); 568_openElementIndices.Push(_entries.Count); 704_openElementIndices.Push(_entries.Count);
src\aspnetcore\src\Http\Routing\src\Tree\TreeEnumerator.cs (6)
22_stack.Push(root); 74_stack.Push(next.CatchAlls); 79_stack.Push(next.ConstrainedCatchAlls); 84_stack.Push(next.Parameters); 89_stack.Push(next.ConstrainedParameters); 97_stack.Push(node);
Microsoft.AspNetCore.Components.Analyzers (3)
VirtualizeItemComparerAnalyzer.cs (3)
68componentStack.Push(new ComponentState { IsVirtualize = true }); 72componentStack.Push(new ComponentState { IsVirtualize = false }); 77componentStack.Push(new ComponentState { IsVirtualize = false });
Microsoft.AspNetCore.Components.Endpoints (2)
FormMapping\Converters\CollectionAdapters\StackBufferAdapter.cs (1)
12buffer.Push(element);
Rendering\EndpointHtmlRenderer.EventDispatch.cs (1)
261stack.Push(GetName(current));
Microsoft.AspNetCore.Components.Server (2)
BlazorPack\SequenceOfT.cs (1)
290this.segmentPool.Push(recycledSegment);
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\SequencePool.cs (1)
112this.pool.Push(value);
Microsoft.AspNetCore.Diagnostics (1)
src\aspnetcore\src\Shared\RazorViews\BaseView.cs (1)
103_textWriterStack.Push(Output);
Microsoft.AspNetCore.Hosting (1)
src\aspnetcore\src\Shared\RazorViews\BaseView.cs (1)
103_textWriterStack.Push(Output);
Microsoft.AspNetCore.Http.Extensions (1)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\StackBufferAdapter.cs (1)
12buffer.Push(element);
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\DefaultModelBindingContext.cs (1)
280_stack.Push(_state);
Microsoft.AspNetCore.Mvc.Razor (2)
RazorPageBase.cs (2)
222TagHelperScopes.Push(new TagHelperScopeInfo(buffer, HtmlEncoder, viewContext.Writer)); 326_textWriterStack.Push(viewContext.Writer);
Microsoft.AspNetCore.Routing (8)
Tree\LinkGenerationDecisionTree.cs (2)
230branchStack.Push(string.Empty); 256branchStack.Push($" => {criterion.Key}: {branch.Key}");
Tree\TreeEnumerator.cs (6)
22_stack.Push(root); 74_stack.Push(next.CatchAlls); 79_stack.Push(next.ConstrainedCatchAlls); 84_stack.Push(next.Parameters); 89_stack.Push(next.ConstrainedParameters); 97_stack.Push(node);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpProtocol.cs (2)
816_onStarting.Push(new KeyValuePair<Func<object, Task>, object>(callback, state)); 825_onCompleted.Push(new KeyValuePair<Func<object, Task>, object>(callback, state));
Internal\Infrastructure\KestrelConnection.cs (1)
86_onCompleted.Push(new KeyValuePair<Func<object, Task>, object>(callback, state));
Microsoft.AspNetCore.SignalR.Core (1)
src\aspnetcore\src\SignalR\common\Shared\MessageBuffer.cs (1)
406pool.Push(tmp);
Microsoft.Build (12)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
660handlerStack.Push(handler);
BackEnd\Components\RequestBuilder\TargetEntry.cs (1)
764_legacyCallTargetScopes.Push(lookup.EnterScope("EnterLegacyCallTargetScope()"));
BackEnd\Components\Scheduler\SchedulableRequest.cs (2)
527requestsToEvaluate.Push(alternateRequest); 559requestsToEvaluate.Push(childRequest);
BackEnd\Components\Scheduler\Scheduler.cs (1)
1863requestsToAdd.Push(request);
BackEnd\Components\Scheduler\SchedulingPlan.cs (1)
315currentPath.Push(root);
Evaluation\ConditionEvaluator.cs (1)
299expressionPool.Push(parsedExpression);
Evaluation\LazyItemEvaluator.cs (2)
351globsToIgnoreStack.Push(globsToIgnoreForPreviousOperations.ToImmutable()); 354itemListStack.Push(currentList);
Evaluation\Preprocessor.cs (2)
101_filePaths.Push(_project.FullPath); 318_filePaths.Push(resolved.FullPath);
Evaluation\Profiler\EvaluationProfiler.cs (1)
122_evaluationProfiler._evaluationStack.Push(this);
Microsoft.Build.Tasks.Core (1)
ParserState.cs (1)
80_namespaceStack.Push(namespacePart);
Microsoft.CodeAnalysis (32)
CodeGen\LocalScopeManager.cs (2)
32_scopes.Push(_rootScope); 40_scopes.Push(scope);
Collections\KeyedStack.cs (1)
29store.Push(value);
Collections\Rope.cs (9)
44_stack.Push(rope); 71_stack.Push(c._right); 72_stack.Push(c._left); 189stack.Push(this); 198stack.Push(c._right); 199stack.Push(c._left); 218stack.Push(this); 230stack.Push(c._right); 231stack.Push(c._left);
Collections\SmallDictionary.cs (6)
535_stack.Push(root); 570_stack!.Push(child); 653_stack.Push(root); 687_stack!.Push(child); 759_stack.Push(root); 793_stack!.Push(child);
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (3)
241nodeStack.Push(member); 286nodeStack.Push(childNode); 340seenNames.Push(currentAttributeName);
Syntax\SyntaxDiffer.cs (3)
30_oldNodes.Push((SyntaxNodeOrToken)oldNode); 31_newNodes.Push((SyntaxNodeOrToken)newNode); 338stack.Push(children[i]);
Syntax\SyntaxNavigator.cs (6)
100stack.Push(current.ChildNodesAndTokens().GetEnumerator()); 119stack.Push(en); 124stack.Push(child.AsNode()!.ChildNodesAndTokens().GetEnumerator()); 146stack.Push(current.ChildNodesAndTokens().Reverse().GetEnumerator()); 166stack.Push(en); 171stack.Push(child.AsNode()!.ChildNodesAndTokens().Reverse().GetEnumerator());
TreeDumper.cs (2)
268stack.Push(new KeyValuePair<TreeDumperNode?, TreeDumperNode>(null, this)); 276stack.Push(new KeyValuePair<TreeDumperNode?, TreeDumperNode>(currentNode, child));
Microsoft.CodeAnalysis.Analyzers (34)
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (6)
535_stack.Push(root); 570_stack!.Push(child); 653_stack.Push(root); 687_stack!.Push(child); 759_stack.Push(root); 793_stack!.Push(child);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
137_seenRethrowInCatchClauses.Push(false); 155_seenRethrowInCatchClauses.Push(true);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
648_stack.Push(root); 682stack.Push(child); 767_stack.Push(root); 800stack.Push(child); 873_stack.Push(root); 906stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (3)
89candidates.Push(root); 100candidates.Push(right); 103candidates.Push(left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
73_stack.Push(_currentNode!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
30stack.Push(v); 36stack.Push(v); 42stack.Push(v); 53stack.Push(range[i]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
879regionStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!); 885ifStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (2)
30stack.Push(node); 39stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (4)
86spineNodes.Push(root); 97spineNodes.Push(right); 107spineNodes.Push(left); 163spineNodes.Push(parentNode.Left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (2)
40stack.Push((node, leading: fullSpan, trailing: fullSpan)); 84stack.Push((child, currentLeading | !first, currentTrailing | !last));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
427_contextualSymbolStack.Push(contextualSymbol);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
61stack.Push(current);
Microsoft.CodeAnalysis.AnalyzerUtilities (38)
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (6)
535_stack.Push(root); 570_stack!.Push(child); 653_stack.Push(root); 687_stack!.Push(child); 759_stack.Push(root); 793_stack!.Push(child);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
137_seenRethrowInCatchClauses.Push(false); 155_seenRethrowInCatchClauses.Push(true);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
648_stack.Push(root); 682stack.Push(child); 767_stack.Push(root); 800stack.Push(child); 873_stack.Push(root); 906stack.Push(child);
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (4)
300_interproceduralCallStack.Push(operation); 2273_interproceduralCallStack.Push(originalOperation); 2658_interproceduralCallStack.Push(DataFlowAnalysisContext.ControlFlowGraph.OriginalOperation); 2707_interproceduralCallStack.Push(lambda);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (3)
89candidates.Push(root); 100candidates.Push(right); 103candidates.Push(left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
73_stack.Push(_currentNode!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
30stack.Push(v); 36stack.Push(v); 42stack.Push(v); 53stack.Push(range[i]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
879regionStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!); 885ifStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (2)
30stack.Push(node); 39stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (4)
86spineNodes.Push(root); 97spineNodes.Push(right); 107spineNodes.Push(left); 163spineNodes.Push(parentNode.Left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (2)
40stack.Push((node, leading: fullSpan, trailing: fullSpan)); 84stack.Push((child, currentLeading | !first, currentTrailing | !last));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
427_contextualSymbolStack.Push(contextualSymbol);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
61stack.Push(current);
Microsoft.CodeAnalysis.CodeStyle (26)
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (6)
535_stack.Push(root); 570_stack!.Push(child); 653_stack.Push(root); 687_stack!.Push(child); 759_stack.Push(root); 793_stack!.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (3)
89candidates.Push(root); 100candidates.Push(right); 103candidates.Push(left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
73_stack.Push(_currentNode!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
30stack.Push(v); 36stack.Push(v); 42stack.Push(v); 53stack.Push(range[i]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
879regionStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!); 885ifStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (2)
30stack.Push(node); 39stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (4)
86spineNodes.Push(root); 97spineNodes.Push(right); 107spineNodes.Push(left); 163spineNodes.Push(parentNode.Left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (2)
40stack.Push((node, leading: fullSpan, trailing: fullSpan)); 84stack.Push((child, currentLeading | !first, currentTrailing | !last));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
427_contextualSymbolStack.Push(contextualSymbol);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
61stack.Push(current);
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Query.cs (2)
96state.clauses.Push(node.Body.Clauses[i]); 113state.clauses.Push(clauses[i]);
Compilation\SyntaxAndDeclarationManager.cs (2)
616stack.Push(previousRootNamespaceDeclaration.Value); 630stack.Push(current.Children[i]);
Compiler\DocumentationCommentCompiler.cs (1)
1377_temporaryStringBuilders.Push(new TemporaryStringBuilder(_indentDepth));
Declarations\DeclarationTable.cs (4)
188stack.Push(declaration); 205stack.Push(child); 293stack.Push(mergedRoot); 338stack.Push(childNamespaceOrType);
Emitter\Model\PEModuleBuilder.cs (5)
345namespacesAndTypesToProcess.Push(SourceModule.GlobalNamespace); 367namespacesAndTypesToProcess.Push((NamespaceOrTypeSymbol)member); 394namespacesAndTypesToProcess.Push((NamespaceOrTypeSymbol)member); 562namespacesToProcess.Push(SourceModule.GlobalNamespace); 571namespacesToProcess.Push((NamespaceSymbol)member);
Symbols\TypeParameterSymbolExtensions.cs (1)
33stack.Push(typeParameter);
Syntax\SyntaxEquivalence.cs (3)
109stack.Push((before, after)); 227stack.Push((child1, child2)); 245stack.Push((child1, child2));
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer.cs (2)
66stack.Push(root); 77stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (2)
405stack.Push(node.Expression); 415stack.Push(childNode);
Microsoft.CodeAnalysis.CSharp.Features (9)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (3)
960Stack.Push(fromClause); 973Stack.Push(node); 977public void Add(CSharpSyntaxNode node) => Stack.Push(node);
DecompiledSource\CSharpDecompiledSourceService.cs (2)
117containingTypeStack.Push(symbol.MetadataName); 119containingNamespaceStack.Push(symbol.MetadataName);
Highlighting\KeywordHighlighters\AsyncAwaitHighlighter.cs (2)
49stack.Push(node); 64stack.Push(childNode);
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer.cs (2)
66stack.Push(root); 77stack.Push(child);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (2)
405stack.Push(node.Expression); 415stack.Push(childNode);
Microsoft.CodeAnalysis.Extensions.Package (1)
Symbols\INamedTypeSymbolExtensions.cs (1)
61stack.Push(current);
Microsoft.CodeAnalysis.Features (18)
BracePairs\IBracePairsService.cs (2)
54stack.Push(root); 68stack.Push(child);
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (4)
79_navigationTargetStack.Push(default); 80_styleStack.Push(TaggedTextStyle.None); 165=> _navigationTargetStack.Push((target, hint)); 171=> _styleStack.Push(_styleStack.Peek() | style);
EmbeddedLanguages\Classification\AbstractEmbeddedLanguageClassificationService.cs (2)
88stack.Push(node); 98stack.Push(child);
ExtractMethod\MethodExtractor.TriviaResult.cs (2)
147stack.Push(trivia); 169stack.Push(trivia);
Shared\Utilities\ExtractTypeHelpers.cs (1)
174typesToVisit.Push(currentType);
ValueTracking\ValueTrackingProgressCollector.cs (1)
26_items.Push(item);
Wrapping\BinaryExpression\AbstractBinaryExpressionWrapper.cs (4)
109stack.Push(expr); 117stack.Push(right); 118stack.Push(opToken); 119stack.Push(left);
Wrapping\ChainedExpression\AbstractChainedExpressionWrapper.cs (2)
277stack.Push(node); 300stack.Push(child);
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\CodeGeneration\CodeRenderingContext.cs (6)
51_scopeStack.Push(new(nodeWriter)); 161_ancestorStack.Push(node); 176_scopeStack.Push(new ScopeInternal(writer)); 177_ancestorStack.Push(node); 200_scopeStack.Push(new ScopeInternal(writer)); 217_ancestorStack.Push(node);
Language\Components\ScopeStack.cs (1)
61_stack.Push(_current);
Language\Legacy\HtmlMarkupParser.cs (1)
503_tagTracker.Push(tracker);
Language\Legacy\ParserContext.cs (2)
38_errorSinkStack.Push(new ErrorSink()); 66_errorSinkStack.Push(errorSink);
Language\Legacy\TagHelperParseTreeRewriter.cs (2)
152_trackerStack.Push(tracker); 166_trackerStack.Push(tracker);
Microsoft.CodeAnalysis.ResxSourceGenerator (34)
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (6)
535_stack.Push(root); 570_stack!.Push(child); 653_stack.Push(root); 687_stack!.Push(child); 759_stack.Push(root); 793_stack!.Push(child);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
137_seenRethrowInCatchClauses.Push(false); 155_seenRethrowInCatchClauses.Push(true);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
648_stack.Push(root); 682stack.Push(child); 767_stack.Push(root); 800stack.Push(child); 873_stack.Push(root); 906stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (3)
89candidates.Push(root); 100candidates.Push(right); 103candidates.Push(left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
73_stack.Push(_currentNode!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
30stack.Push(v); 36stack.Push(v); 42stack.Push(v); 53stack.Push(range[i]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
879regionStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!); 885ifStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (2)
30stack.Push(node); 39stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (4)
86spineNodes.Push(root); 97spineNodes.Push(right); 107spineNodes.Push(left); 163spineNodes.Push(parentNode.Left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (2)
40stack.Push((node, leading: fullSpan, trailing: fullSpan)); 84stack.Push((child, currentLeading | !first, currentTrailing | !last));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
427_contextualSymbolStack.Push(contextualSymbol);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
61stack.Push(current);
Microsoft.CodeAnalysis.VisualBasic (2)
Compilation\DocumentationComments\DocWriter.vb (1)
139Me._temporaryStringBuilders.Push(New TemporaryStringBuilder(Me._indentDepth))
Lowering\Diagnostics\DiagnosticsPass.vb (1)
203_expressionsBeingVisited.Push(expr)
Microsoft.CodeAnalysis.Workspaces (42)
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (3)
70worker._pendingNodes.Push(root); 110_pendingNodes.Push(child); 176_pendingNodes.Push(trivia.GetStructure());
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (10)
125oldStack.Push(oldRoot.ChildNodesAndTokens().GetEnumerator()); 126newStack.Push(newRoot.ChildNodesAndTokens().GetEnumerator()); 154oldStack.Push(currentOld.AsNode()!.ChildNodesAndTokens().GetEnumerator()); 155newStack.Push(currentNew.AsNode()!.ChildNodesAndTokens().GetEnumerator()); 180oldStack.Push(oldRoot.ChildNodesAndTokens().Reverse().GetEnumerator()); 181newStack.Push(newRoot.ChildNodesAndTokens().Reverse().GetEnumerator()); 222oldStack.Push(currentOld.AsNode()!.ChildNodesAndTokens().Reverse().GetEnumerator()); 223newStack.Push(currentNew.AsNode()!.ChildNodesAndTokens().Reverse().GetEnumerator()); 250stack.Push(topEnumerator); 267stack.Push(topEnumerator);
FindSymbols\FindReferences\FindReferenceCache.cs (3)
160stack.Push(this.Root); 168stack.Push(child); 182stack.Push(trivia.GetStructure());
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (6)
535_stack.Push(root); 570_stack!.Push(child); 653_stack.Push(root); 687_stack!.Push(child); 759_stack.Push(root); 793_stack!.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (3)
89candidates.Push(root); 100candidates.Push(right); 103candidates.Push(left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
73_stack.Push(_currentNode!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
30stack.Push(v); 36stack.Push(v); 42stack.Push(v); 53stack.Push(range[i]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
879regionStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!); 885ifStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (2)
30stack.Push(node); 39stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (4)
86spineNodes.Push(root); 97spineNodes.Push(right); 107spineNodes.Push(left); 163spineNodes.Push(parentNode.Left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (2)
40stack.Push((node, leading: fullSpan, trailing: fullSpan)); 84stack.Push((child, currentLeading | !first, currentTrailing | !last));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
427_contextualSymbolStack.Push(contextualSymbol);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
61stack.Push(current);
Microsoft.Diagnostics.DataContractReader.Legacy (1)
TypeNameBuilder.cs (1)
455GenericStartsStack.Push(TypeString.Length);
Microsoft.DotNet.Build.Manifest (1)
VersionIdentifier.cs (1)
133majorMinorPatchStack.Push((potentialVersionSegment, currentIndex));
Microsoft.DotNet.PackageTesting (4)
VerifyClosure.cs (4)
168depStack.Push(assembly); 240depStack.Push(depAssm); 259depStack.Push(assembly); 299depStack.Push(depAssm);
Microsoft.DotNet.SharedFramework.Sdk (4)
src\arcade\src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (4)
168depStack.Push(assembly); 240depStack.Push(depAssm); 259depStack.Push(assembly); 299depStack.Push(depAssm);
Microsoft.Extensions.AI.Evaluation.Console (2)
Utilities\ExceptionUtilities.cs (2)
22toCheck.Push(exception); 36toCheck.Push(innerException);
Microsoft.Extensions.Configuration (2)
ConfigurationSectionDebugView.cs (2)
48stack.Push(current); 63stack.Push(child);
Microsoft.Extensions.Configuration.Abstractions (2)
ConfigurationExtensions.cs (2)
57stack.Push(configuration); 69stack.Push(child);
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationFileParser.cs (1)
122_paths.Push(_paths.Count > 0 ?
Microsoft.Extensions.Configuration.Xml (3)
XmlStreamConfigurationProvider.cs (3)
118currentPath.Push(element); 436_lengths.Push(value.Length + ConfigurationPath.KeyDelimiter.Length); 441_lengths.Push(value.Length);
Microsoft.Extensions.DataIngestion.Abstractions (2)
IngestionDocument.cs (2)
48elementsToProcess.Push(Sections[sectionIndex]); 63elementsToProcess.Push(nestedSection.Elements[i]);
Microsoft.Extensions.FileSystemGlobbing (1)
Internal\PatternContexts\PatternContext.cs (1)
30_stack.Push(Frame);
Microsoft.Extensions.Identity.Core (2)
TokenProviderDescriptor.cs (2)
24_providerTypes.Push(type); 37internal void AddProviderType(Type type) => _providerTypes.Push(type);
Microsoft.Gen.BuildMetadata (1)
src\Generators\Shared\StringBuilderPool.cs (1)
34_builders.Push(sb);
Microsoft.Gen.ComplianceReports (2)
Emitter.cs (2)
146_itemCounts.Push(_itemCount); 164_itemCounts.Push(_itemCount);
Microsoft.Gen.Logging (2)
Emission\StringBuilderPool.cs (1)
29_builders.Push(sb);
src\Generators\Shared\StringBuilderPool.cs (1)
34_builders.Push(sb);
Microsoft.Gen.MetadataExtractor (3)
src\Generators\Microsoft.Gen.ComplianceReports\Emitter.cs (2)
146_itemCounts.Push(_itemCount); 164_itemCounts.Push(_itemCount);
src\Generators\Shared\StringBuilderPool.cs (1)
34_builders.Push(sb);
Microsoft.Gen.Metrics (1)
src\Generators\Shared\StringBuilderPool.cs (1)
34_builders.Push(sb);
Microsoft.Gen.MetricsReports (1)
src\Generators\Shared\StringBuilderPool.cs (1)
34_builders.Push(sb);
Microsoft.Interop.SourceGeneration (4)
ManualTypeMarshallingHelper.cs (2)
368typeStack.Push(innerType); 373typeStack.Push(innerType);
TypeSymbolExtensions.cs (2)
232originalNestedTypes.Push(originalTypeDefinition); 312genericTypesToSubstitute.Push((instantiatedType.TypeArguments, instantiatedType.TypeArgumentNullableAnnotations));
Microsoft.Maui.Controls (1)
Profiler.cs (1)
117 Stack.Push(new Profile(name, id, line));
Microsoft.Maui.Graphics (27)
AbstractCanvas.cs (1)
263 _stateStack.Push(previousState);
PathBuilder.cs (24)
146 _commandStack.Push(entry.Substring(1)); 152 _commandStack.Push(entry[0].ToInvariantString()); 159 _commandStack.Push(entry); 166 _commandStack.Push(c.ToInvariantString()); 173 _commandStack.Push(entry); 194 _commandStack.Push(topCommand); 265 _commandStack.Push(command); 270 _commandStack.Push(command); 275 _commandStack.Push(command); 280 _commandStack.Push(command); 285 _commandStack.Push(command); 290 _commandStack.Push(command); 295 _commandStack.Push(command); 300 _commandStack.Push(command); 305 _commandStack.Push(command); 310 _commandStack.Push(command); 315 _commandStack.Push(command); 320 _commandStack.Push(command); 325 _commandStack.Push(command); 330 _commandStack.Push(command); 335 _commandStack.Push(command); 340 _commandStack.Push(command); 345 _commandStack.Push(command); 350 _commandStack.Push(command);
ScalingCanvas.cs (2)
236 _scaleXStack.Push(_scaleX); 237 _scaleYStack.Push(_scaleY);
Microsoft.Maui.Graphics.Text.Markdig (1)
Renderer\HtmlInlineRenderer.cs (1)
31 _spans.Push(spanData);
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
178stack.Push(item);
Microsoft.ML.Data (3)
Prediction\Calibrator.cs (1)
1898stack.Push(curr);
Utilities\StreamUtils.cs (2)
94dirsLeft.Push(path); 114dirsLeft.Push(subs[i]);
Microsoft.ML.Tokenizers (3)
Utils\DoubleArrayTrie.cs (3)
327private void FreeNode(uint id) => _recycleBin.Push(id); 399_nodeStack.Push(childId); 439_nodeStack.Push(0);
Microsoft.ML.Tokenizers.Tests (3)
src\Microsoft.ML.Tokenizers\Utils\DoubleArrayTrie.cs (3)
327private void FreeNode(uint id) => _recycleBin.Push(id); 399_nodeStack.Push(childId); 439_nodeStack.Push(0);
Microsoft.ML.TorchSharp (1)
AutoFormerV2\ObjectDetectionMetrics.cs (1)
269prStack.Push(Tuple.Create(tp / (index + 1), tp)); // precision should be float
Microsoft.NET.Build.Tasks (7)
DependencyContextBuilder.cs (2)
890dependenciesToWalk.Push(new LibraryDependency() 913dependenciesToWalk.Push(newDependency);
ProjectContext.cs (4)
232nonExcludeFromPublishAssetsToSearch.Push(topLevelDependency); 237excludeFromPublishAssetsToSearch.Push(topLevelDependency); 254nonExcludeFromPublishAssetsToSearch.Push(dependency.Id); 275excludeFromPublishAssetsToSearch.Push(dependency.Id);
ResolvePackageAssets.cs (1)
1959dependenciesToWalk.Push(newDependency.Id);
Microsoft.NET.Sdk.StaticWebAssets.Tasks (9)
Utils\Globbing\StaticWebAssetGlobMatcher.cs (9)
44stateStack.Push(new(includes)); 202stateStack.Push(state.NextComplex()); 206stateStack.Push(state.NextSegment(complexSegment.Node)); 311stateStack.Push(nextSegment); 318stateStack.Push(state.NextSegment(state.Node.WildCard)); 340stateStack.Push(state.NextSegment(extensionCandidate)); 345stateStack.Push(state.NextExtension(extensionIndex + indexOfDot + 1)); 359stateStack.Push(state.NextSegment(literalCandidate)); 370stateStack.Push(nextStage);
Microsoft.TemplateEngine.Cli (2)
Commands\CommandLineUtils.cs (2)
35(end ??= new Stack<char>()).Push(']'); 95(end ??= new Stack<char>()).Push(']');
Microsoft.TemplateEngine.Core (8)
Expressions\Cpp\CppStyleEvaluatorDefinition.cs (4)
299parents.Push(leftScope); 314parents.Push(current); 400parents.Push(current); 478parents.Push(current);
Expressions\ScopeBuilder.cs (1)
217parents.Push(isolator);
Operations\Conditional.cs (1)
179_pendingCompletion.Push(_current);
Operations\PhasedOperation.cs (2)
66sourceParents.Push(currentSource); 69targetParents.Push(currentTarget);
Microsoft.TemplateEngine.Edge (1)
ReflectionLoadProbingPath.cs (1)
175bestMatch.Push(file.FullName);
Microsoft.TemplateEngine.Utils (7)
DirectedGraph.cs (1)
204_stack.Push(item);
FileSystemInfoExtensions.cs (1)
137partStack.Push(parts[i]);
Glob.cs (2)
160checkpoints.Push(new Checkpoint(matcher, currentMatcher + 1, i)); 200checkpoints.Push(checkpoint);
InMemoryFileSystem.cs (3)
240directories.Push(current); 322directories.Push(current); 417directories.Push(current);
Microsoft.TestPlatform.Filter.Source (9)
FilterExpression.cs (9)
111filterStack.Push(result); 123filterStack.Push(result); 272operatorStack.Push(currentOperator); 283operatorStack.Push(Operator.OpenBrace); 311filterStack.Push(filter); 350filterStack.Push(current._right); 353filterStack.Push(current); 363filterStack.Push(current); 368result.Push(getNodeValue(current, result));
Microsoft.VisualStudio.TestPlatform.Common (12)
src\vstest\src\Microsoft.TestPlatform.Filter.Source\FilterExpression.cs (9)
111filterStack.Push(result); 123filterStack.Push(result); 272operatorStack.Push(currentOperator); 283operatorStack.Push(Operator.OpenBrace); 311filterStack.Push(filter); 350filterStack.Push(current._right); 353filterStack.Push(current); 363filterStack.Push(current); 368result.Push(getNodeValue(current, result));
Utilities\AssemblyResolver.cs (1)
158_currentlyResolvingResources.Push(assemblyPath);
Utilities\SimpleJSON.cs (2)
554stack.Push(new JSONObject()); 572stack.Push(new JSONArray());
Microsoft.VisualStudio.TestPlatform.ObjectModel (9)
Nuget.Frameworks\CompatibilityProvider.cs (2)
237toExpand.Push(framework); 251toExpand.Push(curFramework);
Nuget.Frameworks\FrameworkExpander.cs (2)
35toExpand.Push(framework); 46toExpand.Push(expansion);
Nuget.Frameworks\FrameworkNameProvider.cs (5)
364toProcess.Push(framework); 377toProcess.Push(equalFramework); 802remaining.Push(pair.Key); 803remaining.Push(pair.Value); 825remaining.Push(framework);
Mono.Cecil.Mdb (2)
Mono.CompilerServices.SymbolWriter\MonoSymbolWriter.cs (1)
120 current_method_stack.Push (current_method);
Mono.CompilerServices.SymbolWriter\SourceMethodBuilder.cs (1)
111 _block_stack.Push (block);
NuGet.CommandLine.XPlat (2)
Commands\Why\DependencyGraphPrinter.cs (2)
68stack.Push(new StackOutputData 87stack.Push(new StackOutputData
NuGet.Commands (2)
RestoreCommand\Utility\SpecValidationUtility.cs (2)
100files.Push(spec.FilePath); 125files.Push(restoreMetadata.ProjectPath);
NuGet.Common (1)
src\nuget-client\build\Shared\SimplePool.cs (1)
37_values.Push(value);
NuGet.DependencyResolver.Core (5)
GraphModel\GraphOperations.cs (2)
193nodeStrings.Push(current.GetIdAndVersionOrRange()); 212nodeStrings.Push(nodeString);
Remote\RemoteDependencyWalker.cs (3)
111stackStates.Push(new GraphNodeStackState( 235stackStates.Push(new GraphNodeStackState( 246stackStates.Push(new GraphNodeStackState(
NuGet.Frameworks (10)
CompatibilityProvider.cs (2)
256toExpand.Push(framework); 270toExpand.Push(curFramework);
FrameworkExpander.cs (2)
35toExpand.Push(framework); 46toExpand.Push(expansion);
FrameworkNameProvider.cs (5)
371toProcess.Push(framework); 384toProcess.Push(equalFramework); 814remaining.Push(pair.Key); 815remaining.Push(pair.Value); 837remaining.Push(framework);
src\nuget-client\build\Shared\SimplePool.cs (1)
37_values.Push(value);
NuGet.LibraryModel (1)
src\nuget-client\build\Shared\SimplePool.cs (1)
37_values.Push(value);
NuGet.PackageManagement (2)
NuGetPackageManager.cs (2)
2609executedNuGetProjectActions.Push(nuGetProjectAction); 2646executedNuGetProjectActions.Push(nuGetProjectAction);
NuGet.Packaging (9)
Licenses\NuGetLicenseExpressionParser.cs (6)
53operandStack.Push(new Tuple<bool, object>(true, token)); 61operatorStack.Push(token); 98operatorStack.Push(token); 104operatorStack.Push(token); 183operandStack.Push(new Tuple<bool, object>(false, withNode)); 198operandStack.Push(new Tuple<bool, object>(false, newExpression));
PackageFolderReader.cs (1)
180parents.Push(parent);
Signing\DerEncoding\DerEncoder.cs (1)
1026littleEndianBytes.Push(octet);
src\nuget-client\build\Shared\SimplePool.cs (1)
37_values.Push(value);
NuGet.ProjectModel (2)
DependencyGraphSpec.cs (2)
177toWalk.Push(GetProjectSpec(rootUniqueName)); 193toWalk.Push(GetProjectSpec(projectName));
NuGet.Protocol (3)
LegacyFeed\MetadataResourceV2Feed.cs (1)
46tasks.Push(task);
LocalRepositories\LocalMetadataResource.cs (1)
49tasks.Push(task);
src\nuget-client\build\Shared\SimplePool.cs (1)
37_values.Push(value);
NuGet.Resolver (4)
CombinationSolver.cs (4)
286reductionAgainstFutureDomain.Push(itemInFutureDomain); 296_reductions[j].Push(reductionAgainstFutureDomain); 299_futureForwardChecking[i].Push(j); 302_pastForwardChecking[j].Push(i);
NuGet.Versioning (1)
src\nuget-client\build\Shared\SimplePool.cs (1)
37_values.Push(value);
PresentationBuildTasks (3)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\MarkupExtensionParser.cs (2)
1034bracketCharacterStack.Push(args[i]); 1147bracketCharacterStack.Push(args[i]);
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\StyleModeStack.cs (1)
53_stack.Push(mode);
PresentationCore (18)
MS\Internal\TextFormatting\TextStore.cs (1)
2693directionalEmbeddingStack.Push(currentScope.TextModifier);
System\Windows\EventRoute.cs (1)
297(_branchNodeStack ??= new Stack<BranchNode>(1)).Push(branchNode);
System\Windows\Media\BoundsDrawingContextWalker.cs (3)
346_clipStack.Push(_clip); 401_transformStack.Push(_transform); 615_pushTypeStack.Push(pushType);
System\Windows\Media\DrawingDrawingContext.cs (1)
1361_previousDrawingGroupStack.Push(_currentDrawingGroup);
System\Windows\Media\Generated\RenderData.cs (9)
929pushStack.Push(PushType.Other); 947pushStack.Push(PushType.Other); 965pushStack.Push(PushType.Other); 976pushStack.Push(PushType.Other); 994pushStack.Push(PushType.Other); 1012pushStack.Push(PushType.Other); 1030pushStack.Push(PushType.Other); 1041pushStack.Push(PushType.Other); 1052pushStack.Push(PushType.BitmapEffect);
System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
321_pointStack.Push(_point);
System\Windows\Media3D\Viewport2DVisual3D.cs (2)
466materialStack.Push(material); 515materialStack.Push(m);
PresentationFramework (61)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (3)
1246_calledProcessAnnotations.Push(false); 1275_calledProcessAnnotations.Push(value); 1287_calledProcessAnnotations.Push(false);
MS\Internal\Data\LiveShapingBlock.cs (8)
322stack.Push(block.LeftChildBlock); 323stack.Push(block.RightChildBlock); 328stack.Push(block.RightChildBlock); 338stack.Push(block.LeftChildBlock); 403stack.Push(block.RightChildBlock); 404stack.Push(block.LeftChildBlock); 409stack.Push(block.LeftChildBlock); 419stack.Push(block.RightChildBlock);
MS\Internal\Globalization\BamlResourceDeserializer.cs (2)
306_bamlTreeStack.Push(node); 357stackForProperty.Push(node);
MS\Internal\Globalization\BamlResourceSerializer.cs (2)
58_bamlTreeStack.Push(tree.Root); 97_bamlTreeStack.Push(children[i]);
MS\Internal\Ink\EditingCoordinator.cs (1)
603_activationStack.Push(newEditingBehavior);
MS\Internal\PtsHost\StructuralCache.cs (2)
709_documentFormatInfoStack.Push(_currentFormatInfo); 807_documentArrangeInfoStack.Push(_currentArrangeInfo);
System\Windows\Application.cs (1)
533s_NestedBamlLoadInfo.Push(loadBamlSyncInfo);
System\Windows\Controls\InkCanvas.cs (2)
288transforms.Push(transform); 301transforms.Push(transformGroup.Children[i]);
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (1)
347_lookupResultStack.Push(result);
System\Windows\Documents\TextRangeBase.cs (3)
802listItemCounter.Push(0); 836listItemCounter.Push(((IList)listItem.SiblingListItems).IndexOf(listItem)); 849listItemCounter.Push(listItemIndex);
System\Windows\Documents\TextStore.cs (1)
4924_opStack.Push(op);
System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
130_validResources.Push(validResources);
System\Windows\FrameworkContentElement.cs (1)
1406branchNodeStack.Push(this);
System\Windows\FrameworkElement.cs (1)
3132branchNodeStack.Push(this);
System\Windows\Generated\FrameworkContentElement.cs (1)
419parentTreeState.InheritablePropertiesStack.Push(currentInheritableProperties);
System\Windows\Generated\FrameworkElement.cs (1)
416parentTreeState.InheritablePropertiesStack.Push(currentInheritableProperties);
System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
818_xamlWriterStack.Push(_xamlNodesWriter); 1325_xamlWriterStack.Push(_xamlNodesWriter); 2394_xamlWriterStack.Push(_xamlNodesWriter); 2461_xamlWriterStack.Push(_xamlNodesWriter);
System\Windows\Markup\BamlReader.cs (22)
1458readProperty.Push(false); // Property has not yet been read 1459readConstructor.Push(false); // Constructor section has not been read 1460readFirstConstructor.Push(false); // First constructor parameter has not been read 1507readProperty.Push(true); 1533readFirstConstructor.Push(true); 1546readFirstConstructor.Push(true); 1549readProperty.Push(false); 1550readConstructor.Push(false); 1551readFirstConstructor.Push(false); 1578readConstructor.Push(true); 1583readConstructor.Push(false); 1585readFirstConstructor.Push(false); 1597readFirstConstructor.Push(true); 1613readProperty.Push(true); 1625readProperty.Push(true); 1638readProperty.Push(true); 1652readProperty.Push(true); 1666readProperty.Push(true); 1832_nodeStack.Push(nodeInfo); 2004_nodeStack.Push(nodeInfo); 2099_nodeStack.Push(nodeInfo); 2226_nodeStack.Push(nodeInfo);
System\Windows\Markup\MarkupExtensionParser.cs (2)
1034bracketCharacterStack.Push(args[i]); 1147bracketCharacterStack.Push(args[i]);
System\Windows\Markup\StyleModeStack.cs (1)
53_stack.Push(mode);
System\Windows\TreeChangeInfo.cs (1)
38InheritablePropertiesStack.Push(CreateParentInheritableProperties(root, parent, isAddOperation));
ReachFramework (4)
Serialization\Manager\ReachVisualSerializer.cs (2)
99contextStack.Push(new NodeContext(visual)); 111contextStack.Push(new NodeContext(v));
Serialization\Manager\ReachVisualSerializerAsync.cs (2)
125contextStack.Push(new NodeContext(visual)); 163contextStack.Push(new NodeContext(v));
Roslyn.Diagnostics.Analyzers (34)
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (6)
535_stack.Push(root); 570_stack!.Push(child); 653_stack.Push(root); 687_stack!.Push(child); 759_stack.Push(root); 793_stack!.Push(child);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
137_seenRethrowInCatchClauses.Push(false); 155_seenRethrowInCatchClauses.Push(true);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
648_stack.Push(root); 682stack.Push(child); 767_stack.Push(root); 800stack.Push(child); 873_stack.Push(root); 906stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (3)
89candidates.Push(root); 100candidates.Push(right); 103candidates.Push(left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
73_stack.Push(_currentNode!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
30stack.Push(v); 36stack.Push(v); 42stack.Push(v); 53stack.Push(range[i]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
879regionStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!); 885ifStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (2)
30stack.Push(node); 39stack.Push(child);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (4)
86spineNodes.Push(root); 97spineNodes.Push(right); 107spineNodes.Push(left); 163spineNodes.Push(parentNode.Left);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (2)
40stack.Push((node, leading: fullSpan, trailing: fullSpan)); 84stack.Push((child, currentLeading | !first, currentTrailing | !last));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
427_contextualSymbolStack.Push(contextualSymbol);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
61stack.Push(current);
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (2)
405stack.Push(node.Expression); 415stack.Push(childNode);
System.CodeDom (2)
src\runtime\src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (2)
199subTypeNames.Push(typeName.Substring(current + 1, subTypeNameEndIndex - current - 1)); 212subTypeNames.Push(typeName.Substring(current + 1, subTypeNameEndIndex - current - 1));
System.Collections (9)
System\Collections\Generic\SortedSet.cs (7)
199stack.Push(current); 214stack.Push(node); 1633pendingNodes.Push((this, newRoot)); 1643pendingNodes.Push((left, clonedNode)); 1650pendingNodes.Push((right, clonedNode)); 1879_stack.Push(node); 1918_stack.Push(node);
System\Collections\Generic\SortedSet.TreeSubSet.cs (2)
202stack.Push(current); 228stack.Push(node);
System.Collections.Immutable (7)
System\Collections\Immutable\AllocFreeConcurrentStack.cs (1)
33localStack.Push(new RefAsValueType<T>(item));
System\Collections\Immutable\ImmutableList_1.Enumerator.cs (3)
211stack.Push(new RefAsValueType<Node>(node)); 223stack.Push(new RefAsValueType<Node>(node)); 279stack.Push(new RefAsValueType<Node>(node));
System\Collections\Immutable\ImmutableSortedDictionary_2.Enumerator.cs (1)
214stack.Push(new RefAsValueType<Node>(node));
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (1)
219stack.Push(new RefAsValueType<Node>(node));
System\Collections\Immutable\SortedInt32KeyNode.Enumerator.cs (1)
185stack.Push(new RefAsValueType<SortedInt32KeyNode<TValue>>(node));
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\CompositionException.cs (1)
294context.Path.Push(error);
System\ComponentModel\Composition\Hosting\ImportEngine.cs (1)
431_recursionStateStack.Push(partManager);
System.Composition.Hosting (1)
System\Composition\Hosting\Core\ExportDescriptorRegistryUpdate.cs (1)
73checking.Push(dependency);
System.Console (12)
System\IO\StdInReader.cs (2)
170_tmpKeys.Push(keyInfo); 273_availableKeys.Push(_tmpKeys.Pop());
System\TermInfo.cs (10)
181stack.Push(args[format[pos] - '1']); 184stack.Push(stack.Pop().String.Length); 195stack.Push(intLit); 198stack.Push((int)format[pos + 1]); 214stack.Push(sourceVars[getIndex]); 234stack.Push( 255stack.Push( 314stack.Push(1); 324stack.Push(AsInt(format[pos] == ';')); 333stack.Push(1);
System.Data.Common (1)
System\Data\XmlDataLoader.cs (1)
1128_childRowsStack.Push(row); // Push row to the stack
System.Formats.Asn1 (3)
System\Formats\Asn1\AsnDecoder.BitString.cs (1)
552readerStack.Push((curOffset, cur.Length, isIndefinite, bytesRead));
System\Formats\Asn1\AsnDecoder.OctetString.cs (1)
417readerStack.Push((curOffset, cur.Length, isIndefinite, bytesRead));
System\Formats\Asn1\AsnWriter.cs (1)
607_nestingStack.Push(new StackFrame(tag, _offset, tagType));
System.Formats.Cbor (5)
System\Formats\Cbor\Reader\CborReader.cs (1)
188_nestedDataItems.Push(frame);
System\Formats\Cbor\Reader\CborReader.Map.cs (1)
194_pooledKeyEncodingRangeAllocations.Push(allocation);
System\Formats\Cbor\Writer\CborWriter.cs (1)
271_nestedDataItems.Push(frame);
System\Formats\Cbor\Writer\CborWriter.Map.cs (2)
208_pooledKeyEncodingRangeSets.Push(_keyEncodingRanges); 235_pooledKeyValuePairEncodingRangeLists.Push(_keyValuePairEncodingRanges);
System.Formats.Nrbf (4)
System\Formats\Nrbf\ArrayRecord.cs (1)
109info.Stack.Push(info);
System\Formats\Nrbf\ClassRecord.cs (1)
162info.Stack.Push(info.With(allowed, primitiveType));
System\Formats\Nrbf\NrbfDecoder.cs (2)
475readStack.Push(new(allowed, classRecord, readStack, primitiveType)); 482readStack.Push(new(allowed, arrayRecord, readStack, primitiveType));
System.Formats.Tar (1)
System\Formats\Tar\TarHelpers.cs (1)
421directoryModificationTimes.Push((fullPath, modified));
System.Linq.Expressions (17)
System\Dynamic\BindingRestrictions.cs (3)
179_tests.Push(new AndNode { Node = node, Depth = depth }); 218stack.Push(m.Right); 371stack.Push(m.Right);
System\Linq\Expressions\Compiler\KeyedStack.cs (1)
23stack.Push(value);
System\Linq\Expressions\Compiler\StackSpiller.Temps.cs (1)
148_usedTemps.Push(temp);
System\Linq\Expressions\Compiler\VariableBinder.cs (5)
87_scopes.Push(_tree.Scopes[node] = new CompilerScope(node, true)); 88_constants.Push(_tree.Constants[node] = new BoundConstants()); 103_scopes.Push(_tree.Scopes[node] = new CompilerScope(lambda, false)); 124_scopes.Push(_tree.Scopes[node] = new CompilerScope(node, false)); 138_scopes.Push(_tree.Scopes[node] = new CompilerScope(node, false));
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
2012_exceptionForRethrowStack.Push(parameter);
System\Linq\Expressions\Interpreter\TypeOperations.cs (3)
524_shadowedVars.Push(parameters); 542_shadowedVars.Push(new HashSet<ParameterExpression>(node.Variables)); 560_shadowedVars.Push(new HashSet<ParameterExpression> { node.Variable });
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (3)
79_shadowedVars.Push(parameters); 97_shadowedVars.Push(new HashSet<ParameterExpression>(node.Variables)); 115_shadowedVars.Push(new HashSet<ParameterExpression> { node.Variable });
System.Private.CoreLib.Generators (6)
IntrinsicsInSystemPrivateCoreLibAnalyzer.cs (6)
401symbolsToExamine.Push(namedTypeThatIsSafeToUse); 417symbolsToExamine.Push(symbol.ContainingType); 419symbolsToExamine.Push(symbol.BaseType); 429symbolsToExamine.Push(namedTypeThatProvidesSupport); 439symbolsToExamine.Push(symbol.ContainingType); 441symbolsToExamine.Push(symbol.BaseType);
System.Private.DataContractSerialization (12)
src\runtime\src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (2)
199subTypeNames.Push(typeName.Substring(current + 1, subTypeNameEndIndex - current - 1)); 212subTypeNames.Push(typeName.Substring(current + 1, subTypeNameEndIndex - current - 1));
System\Runtime\Serialization\CodeGenerator.cs (10)
223_blockStack.Push(forState); 293_blockStack.Push(forState); 372_blockStack.Push(ifState); 389_blockStack.Push(ifState); 403_blockStack.Push(ifState); 1128_blockStack.Push(ifState); 1219_blockStack.Push(switchState); 1259_blockStack.Push(ifState); 1274_blockStack.Push(startWhile); 1281_blockStack.Push(startWhile);
System.Private.Xml (38)
System\Xml\Cache\XPathDocumentBuilder.cs (1)
574_stkNmsp.Push(new XPathNodeRef(_pageNmsp, _idxNmsp));
System\Xml\Schema\ContentValidator.cs (10)
445nodeStack.Push(this_); 503contextStack.Push(context); 577nodeStack.Push(this_); 660nodeStack.Push(this_); 1086_stack!.Push(null); 1116_stack.Push(node); 1151_stack.Push(node); 1160_stack.Push(choice); 1168_stack.Push(sequence); 1222_stack.Push(topNode);
System\Xml\Schema\DtdParser.cs (2)
1032localFrames.Push(currentFrame); 1053localFrames.Push(currentFrame);
System\Xml\Schema\DtdParserAsync.cs (2)
663localFrames.Push(currentFrame); 684localFrames.Push(currentFrame);
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1694_complexTypeStack.Push(complexType);
System\Xml\Schema\SchemaSetCompiler.cs (1)
2045_complexTypeStack.Push(complexType);
System\Xml\Schema\XsdBuilder.cs (1)
816_containerStack.Push(GetContainer(_currentEntry.CurrentState));
System\Xml\Serialization\CodeGenerator.cs (8)
273_blockStack!.Push(forState); 349_blockStack!.Push(ifState); 366_blockStack!.Push(ifState); 380_leaveLabels.Push(DefineLabel()); 1188_blockStack!.Push(ifState); 1335_blockStack.Push(_elseIfState); 1356_blockStack.Push(_elseIfState); 1421_whileStack!.Push(whileState);
System\Xml\XPath\Internal\PreSiblingQuery.cs (1)
52inputStk.Push(currentNode.Clone());
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (3)
1543_stkNames.Push(prefix); 1544_stkNames.Push(localName); 1545_stkNames.Push(ns);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
977_stkOutput.Push(_output); 1003_stkOutput.Push(_output);
System\Xml\Xsl\XPath\XPathParser.cs (2)
587_posInfo.Push(startChar); 588_posInfo.Push(endChar);
System\Xml\Xsl\Xslt\InvokeGenerator.cs (1)
148_iterStack.Push(var);
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
2874_vars.Push(let);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1427_newTemplates!.Push(newtemplate);
System\Xml\Xsl\XsltOld\Compiler.cs (1)
648_stylesheets.Push(stylesheet);
System.Resources.Extensions (3)
System\Resources\Extensions\BinaryFormat\Deserializer\Deserializer.cs (3)
190_parserStack.Push(parser); 205_parserStack.Push(currentParser); 208_parserStack.Push(requiredParser);
System.Security.Cryptography (1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
393pendingSafeContents.Push((bagValue, nested, bags));
System.Security.Cryptography.Pkcs (1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
393pendingSafeContents.Push((bagValue, nested, bags));
System.ServiceModel.Primitives (2)
Internals\System\Runtime\InternalBufferManager.cs (1)
487_items.Push(buffer);
Internals\System\Runtime\SynchronizedPool.cs (1)
419_items.Push(value);
System.Speech (10)
Internal\SrgsCompiler\BackEnd.cs (4)
477CloneStack.Push(srcFromState); 500CloneStack.Push(srcToState); 636stateToProcess.Push(state); 655stateToProcess.Push(endState);
Internal\SrgsCompiler\Graph.cs (1)
722mergeStates.Push(commonEndState);
Synthesis\PromptBuilder.cs (5)
49_elementStack.Push(new StackElement(SsmlElement.Lexicon | SsmlElement.Meta | SsmlElement.MetaData | SsmlElement.ParagraphOrSentence | SsmlElement.AudioMarkTextWithStyle, SsmlState.Header, _culture)); 248_elementStack.Push(new StackElement(possibleChildren, ssmlState, stackElement._culture)); 317_elementStack.Push(new StackElement(SsmlElement.Sentence | SsmlElement.AudioMarkTextWithStyle, SsmlState.Voice, culture)); 378_elementStack.Push(new StackElement(SsmlElement.AudioMarkTextWithStyle | SsmlElement.Sentence, SsmlState.Paragraph, culture)); 415_elementStack.Push(new StackElement(SsmlElement.AudioMarkTextWithStyle, SsmlState.Sentence, culture));
System.Text.Json (5)
System\Text\Json\Document\JsonDocument.cs (3)
1052traversalPath.Push(document.RootElement.MetadataDbIndex); 1068traversalPath.Push(enumerator.Current.Value.MetadataDbIndex); 1095traversalPath.Push(enumerator.Current.MetadataDbIndex);
System\Text\Json\Serialization\Converters\Collection\StackOfTConverter.cs (1)
17((TCollection)state.Current.ReturnValue!).Push(value);
System\Text\Json\Serialization\IgnoreReferenceResolver.cs (1)
30_stackForCycleDetection.Push(wrappedValue);
System.Text.RegularExpressions (19)
System\Text\RegularExpressions\RegexCompiler.cs (1)
384_pool.Push(_local);
System\Text\RegularExpressions\RegexNode.cs (2)
246toExamine.Push(this); 258toExamine.Push(child);
System\Text\RegularExpressions\Symbolic\BDD.cs (6)
253toVisit.Push(this); 274toVisit.Push(node.Zero); 277toVisit.Push(node.One); 460toVisit.Push(this); 495toVisit.Push(node.Zero); 498toVisit.Push(node.One);
System\Text\RegularExpressions\Symbolic\MintermGenerator.cs (3)
93stack.Push(this); 103stack.Push(node._left); 104stack.Push(node._right);
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (3)
38stack.Push((root, rootResult, CreateChildResultArray(root.ChildCount()))); 93stack.Push(popped); 99stack.Push((node.Child(i), childResults[i], CreateChildResultArray(node.Child(i).ChildCount())));
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (4)
2378stack.Push(node); 2395stack.Push(current._right); 2396stack.Push(current._left); 2402stack.Push(current._left);
System.Text.RegularExpressions.Generator (3)
RegexGenerator.Emitter.cs (1)
76parentClasses.Push($"partial {parent.Keyword} {parent.Name}");
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (2)
246toExamine.Push(this); 258toExamine.Push(child);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\KeyTipService.cs (3)
1156_scopeStack.Push(scopeElement); 1167_scopeStack.Push(scopeElement); 1185_scopeStack.Push(parentScope);
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
768itemsStack.Push(this); 800itemsStack.Push((ToolStripDropDownItem)childItem);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (7)
1121targetToolStrip.MergeHistoryStack.Push(mergeHistory); 1185history.Push(maction); 1197history.Push(maction); 1218history.Push(maction); 1232history.Push(maction); 1304reApply.Push(history.MergedToolStrip); 1309reApply.Push(history.MergedToolStrip);
System.Windows.Forms.Design (8)
System\ComponentModel\Design\DesignerHost.DesignerHostTransaction.cs (1)
20_host._transactions.Push(this);
System\ComponentModel\Design\UndoEngine.cs (5)
345_unitStack.Push(CreateUndoUnit(name, true)); 389_unitStack.Push(CreateUndoUnit(name, true)); 437_unitStack.Push(CreateUndoUnit(name, true)); 503_unitStack.Push(CreateUndoUnit(name, true)); 529_unitStack.Push(CreateUndoUnit(_host.TransactionDescription, _unitStack.Count == 0));
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
38_currentCommands.Push(commandID);
System\Windows\Forms\Design\TabOrder.cs (1)
239_controlIndices.Push(parent.TabIndex);
System.Xaml (24)
System\Xaml\Parser\GenericTypeNameParser.cs (2)
260_stack.Push(frame); 271_stack.Push(frame);
System\Xaml\Parser\MeScanner.cs (2)
390bracketCharacterStack.Push(ch); 479bracketCharacterStack.Push(ch);
System\Xaml\Parser\XamlScannerStack.cs (2)
32_stack.Push( new XamlScannerFrame(null, null) ); 39_stack.Push(new XamlScannerFrame(type, ns));
System\Xaml\XamlMarkupExtensionWriter.cs (3)
319writer.nodes.Push(new Node { NodeType = XamlNodeType.StartObject, XamlType = type }); 388writer.nodes.Push(new Node 587writer.nodes.Push(new Node { NodeType = XamlNodeType.StartObject, XamlType = type });
System\Xaml\XamlObjectReader.cs (5)
73namesInCurrentScope.Push(new HashSet<string>()); 79nodes.Push(rootObject); 84nodes.Push(new NamespaceMarkupInfo() { XamlNode = node }); 113nodes.Push(subNode); 225namesInCurrentScope.Push(new HashSet<string>());
System\Xaml\XamlXmlWriter.cs (10)
104namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 503namespaceScopes.Push(temp); 530namespaceScopes.Push(temp); 1004writer.namespaceScopes.Push(new Frame 1020writer.namespaceScopes.Push(new Frame 1163writer.namespaceScopes.Push(new Frame 1240writer.namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 1375writer.namespaceScopes.Push(new Frame { AllocatingNodeType = isObjectFromMember ? XamlNodeType.GetObject : XamlNodeType.StartObject }); 1392writer.namespaceScopes.Push(tempFrame); 1615writer.meNodesStack.Push(new List<XamlNode>());