725 references to Push
Aspire.Dashboard (1)
Model\Otlp\SpanWaterfallViewModel.cs (1)
84stack.Push(s);
Aspire.Hosting (1)
Orchestrator\RelationshipEvaluator.cs (1)
72visited.Push(child);
Aspire.Hosting.Docker (3)
src\Shared\Yaml\ForceQuotedStringsEventEmitter.cs (3)
34_state.Push(new(EmitterState.EventType.Root)); 75_state.Push(new(EmitterState.EventType.Mapping)); 112_state.Push(new(EmitterState.EventType.Sequence));
Aspire.Hosting.Kubernetes (3)
src\Shared\Yaml\ForceQuotedStringsEventEmitter.cs (3)
34_state.Push(new(EmitterState.EventType.Root)); 75_state.Push(new(EmitterState.EventType.Mapping)); 112_state.Push(new(EmitterState.EventType.Sequence));
DesignSurfaceExt (3)
UndoEngineExt.cs (3)
31_redoStack.Push(unit); 53_undoStack.Push(unit); 69_undoStack.Push(unit);
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);
Identity.DefaultUI.WebSite (4)
StartupBase.cs (4)
88pendingProviders.Push(env.WebRootFileProvider); 89pendingProviders.Push(env.ContentRootFileProvider); 100pendingProviders.Push(provider); 106pendingProviders.Push(childFileProvider);
illink (33)
ILLink.Tasks (5)
CreateRuntimeRootDescriptorFile.cs (5)
521 activeSections.Push (null); 530 activeSections.Push (!negativeIfDef); 532 activeSections.Push (negativeIfDef); 544 activeSections.Push (null); 546 activeSections.Push (!activeSection.Value);
InMemory.FunctionalTests (8)
ConnectionLimitTests.cs (3)
74disposables.Push(upgraded); 81disposables.Push(connection); 123disposables.Push(connection);
ResponseTests.cs (4)
3513callOrder.Push(1); 3519callOrder.Push(2); 3564callOrder.Push(1); 3570callOrder.Push(2);
UpgradeTests.cs (1)
333disposables.Push(connection);
Metrics (8)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
138_seenRethrowInCatchClauses.Push(false); 156_seenRethrowInCatchClauses.Push(true);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
647_stack.Push(root); 681stack.Push(child); 766_stack.Push(root); 799stack.Push(child); 872_stack.Push(root); 905stack.Push(child);
Metrics.Legacy (8)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
138_seenRethrowInCatchClauses.Push(false); 156_seenRethrowInCatchClauses.Push(true);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
647_stack.Push(root); 681stack.Push(child); 766_stack.Push(root); 799stack.Push(child); 872_stack.Push(root); 905stack.Push(child);
Microsoft.AspNetCore.App.Analyzers.Test (2)
RouteEmbeddedLanguage\Infrastructure\MarkupTestFile.cs (2)
131spanStartStack.Push((matchIndexInOutput, string.Empty)); 145namedSpanStartStack.Push((matchIndexInOutput, name));
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (2)
UserJwtsTestFixture.cs (2)
90_disposables.Push(() => 101_disposables.Push(() => TryDelete(projectPath.FullName));
Microsoft.AspNetCore.Components (9)
Rendering\RenderTreeBuilder.cs (3)
54_openElementIndices.Push(_entries.Count); 564_openElementIndices.Push(_entries.Count); 700_openElementIndices.Push(_entries.Count);
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.Endpoints (2)
FormMapping\Converters\CollectionAdapters\StackBufferAdapter.cs (1)
12buffer.Push(element);
Rendering\EndpointHtmlRenderer.EventDispatch.cs (1)
204stack.Push(GetName(current));
Microsoft.AspNetCore.Components.Server (2)
BlazorPack\SequenceOfT.cs (1)
290this.segmentPool.Push(recycledSegment);
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\SequencePool.cs (1)
112this.pool.Push(value);
Microsoft.AspNetCore.Diagnostics (1)
src\Shared\RazorViews\BaseView.cs (1)
103_textWriterStack.Push(Output);
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (1)
src\Shared\RazorViews\BaseView.cs (1)
103_textWriterStack.Push(Output);
Microsoft.AspNetCore.Hosting (1)
src\Shared\RazorViews\BaseView.cs (1)
103_textWriterStack.Push(Output);
Microsoft.AspNetCore.Http.Extensions (1)
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.IIS (3)
Core\IISHttpContext.cs (2)
686_onStarting.Push(new KeyValuePair<Func<object, Task>, object>(callback, state)); 698_onCompleted.Push(new KeyValuePair<Func<object, Task>, object>(callback, state));
src\Shared\RazorViews\BaseView.cs (1)
103_textWriterStack.Push(Output);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpProtocol.cs (2)
799_onStarting.Push(new KeyValuePair<Func<object, Task>, object>(callback, state)); 808_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.Server.Kestrel.Core.Tests (1)
src\Shared\test\Shared.Tests\runtime\Http2\DynamicTableTest.cs (1)
143insertedHeaders.Push(data);
Microsoft.AspNetCore.Shared.Tests (1)
runtime\Http2\DynamicTableTest.cs (1)
143insertedHeaders.Push(data);
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
399pool.Push(tmp);
Microsoft.AspNetCore.SignalR.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
399pool.Push(tmp);
Microsoft.Build (12)
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)
1785requestsToAdd.Push(request);
BackEnd\Components\Scheduler\SchedulingPlan.cs (1)
315currentPath.Push(root);
Evaluation\Expander.cs (1)
2171transformFunctionStack.Push(new TransformFunction<S>(elementLocation, functionName, transformFunction, arguments));
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);
Logging\SerialConsoleLogger.cs (1)
946_frames.Push(f);
Microsoft.Build.Tasks.Core (1)
ParserState.cs (1)
80_namespaceStack.Push(namespacePart);
Microsoft.Cci.Extensions (7)
Traversers\DependencyTraverser.cs (7)
61_definitionStack.Push(assembly); 68_definitionStack.Push(type); 75_definitionStack.Push(type); 82_definitionStack.Push(method); 89_definitionStack.Push(eventDefinition); 96_definitionStack.Push(propertyDefinition); 103_definitionStack.Push(fieldDefinition);
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)
132stack.Push(this); 141stack.Push(c._right); 142stack.Push(c._left); 161stack.Push(this); 173stack.Push(c._right); 174stack.Push(c._left); 187stack.Push(this); 197stack.Push(c._right); 198stack.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)
29_oldNodes.Push((SyntaxNodeOrToken)oldNode); 30_newNodes.Push((SyntaxNodeOrToken)newNode); 337stack.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)
261stack.Push(new KeyValuePair<TreeDumperNode?, TreeDumperNode>(null, this)); 269stack.Push(new KeyValuePair<TreeDumperNode?, TreeDumperNode>(currentNode, child));
Microsoft.CodeAnalysis.Analyzers (8)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
138_seenRethrowInCatchClauses.Push(false); 156_seenRethrowInCatchClauses.Push(true);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
647_stack.Push(root); 681stack.Push(child); 766_stack.Push(root); 799stack.Push(child); 872_stack.Push(root); 905stack.Push(child);
Microsoft.CodeAnalysis.AnalyzerUtilities (12)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
138_seenRethrowInCatchClauses.Push(false); 156_seenRethrowInCatchClauses.Push(true);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
647_stack.Push(root); 681stack.Push(child); 766_stack.Push(root); 799stack.Push(child); 872_stack.Push(root); 905stack.Push(child);
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (4)
298_interproceduralCallStack.Push(operation); 2271_interproceduralCallStack.Push(originalOperation); 2656_interproceduralCallStack.Push(DataFlowAnalysisContext.ControlFlowGraph.OriginalOperation); 2705_interproceduralCallStack.Push(lambda);
Microsoft.CodeAnalysis.BannedApiAnalyzers (8)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
138_seenRethrowInCatchClauses.Push(false); 156_seenRethrowInCatchClauses.Push(true);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
647_stack.Push(root); 681stack.Push(child); 766_stack.Push(root); 799stack.Push(child); 872_stack.Push(root); 905stack.Push(child);
Microsoft.CodeAnalysis.CodeStyle (20)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (3)
88candidates.Push(root); 99candidates.Push(right); 102candidates.Push(left);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
73_stack.Push(_currentNode!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
47stack.Push(current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
30stack.Push(v); 36stack.Push(v); 42stack.Push(v); 53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
878regionStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!); 884ifStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (2)
30stack.Push(node); 39stack.Push(child);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (4)
90spineNodes.Push(root); 101spineNodes.Push(right); 111spineNodes.Push(left); 167spineNodes.Push(parentNode.Left);
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\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
427_contextualSymbolStack.Push(contextualSymbol);
Microsoft.CodeAnalysis.CSharp (11)
Compilation\SyntaxAndDeclarationManager.cs (2)
616stack.Push(previousRootNamespaceDeclaration.Value); 630stack.Push(current.Children[i]);
Compiler\DocumentationCommentCompiler.cs (1)
1229_temporaryStringBuilders.Push(new TemporaryStringBuilder(_indentDepth));
Declarations\DeclarationTable.cs (4)
217stack.Push(declaration); 234stack.Push(child); 322stack.Push(mergedRoot); 367stack.Push(childNamespaceOrType);
Emitter\Model\PEModuleBuilder.cs (3)
363namespacesAndTypesToProcess.Push((NamespaceOrTypeSymbol)member); 385namespacesAndTypesToProcess.Push((NamespaceOrTypeSymbol)member); 571namespacesToProcess.Push((NamespaceSymbol)member);
Symbols\TypeParameterSymbolExtensions.cs (1)
33stack.Push(typeParameter);
Microsoft.CodeAnalysis.CSharp.Features (5)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (3)
961Stack.Push(fromClause); 974Stack.Push(node); 978public void Add(CSharpSyntaxNode node) => Stack.Push(node);
DecompiledSource\CSharpDecompiledSourceService.cs (2)
117containingTypeStack.Push(symbol.MetadataName); 119containingNamespaceStack.Push(symbol.MetadataName);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (3)
ObjectFormatterTests.cs (3)
572obj.Push(1); 573obj.Push(2); 574obj.Push(3);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\LookupPositionTests.cs (3)
3140stack.Push(new string[0]); 3168stack.Push(curr); 3179stack.Push(curr);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\AnonymousTypesSemanticsTests.cs (2)
2054stack.Push(tree.GetCompilationUnitRoot()); 2067stack.Push(child);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Parsing\ParsingTests.cs (3)
315stack.Push((default, node.ChildNodesAndTokens().GetEnumerator(), default)); 348stack.Push((en1, en2, en3)); // put it back on stack (struct enumerator) 358stack.Push((default, triviaStructure.ChildNodesAndTokens().GetEnumerator(), default));
Microsoft.CodeAnalysis.EditorFeatures (3)
InlineRename\AbstractInlineRenameUndoManager.cs (3)
115this.UndoStack.Push(this.initialState); 138this.RedoStack.Push(this.currentState); 152this.UndoStack.Push(this.currentState);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Extensions\CollectionExtensionsTest.cs (1)
39stack.Push(3);
Microsoft.CodeAnalysis.Features (8)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (4)
78_navigationTargetStack.Push(default); 79_styleStack.Push(TaggedTextStyle.None); 169=> _navigationTargetStack.Push((target, hint)); 175=> _styleStack.Push(_styleStack.Peek() | style);
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);
Microsoft.CodeAnalysis.PublicApiAnalyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
647_stack.Push(root); 681stack.Push(child); 766_stack.Push(root); 799stack.Push(child); 872_stack.Push(root); 905stack.Push(child);
Microsoft.CodeAnalysis.ResxSourceGenerator (8)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
138_seenRethrowInCatchClauses.Push(false); 156_seenRethrowInCatchClauses.Push(true);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
647_stack.Push(root); 681stack.Push(child); 766_stack.Push(root); 799stack.Push(child); 872_stack.Push(root); 905stack.Push(child);
Microsoft.CodeAnalysis.Test.Utilities (2)
Assert\AssertXml.cs (2)
155stack.Push(rootPair); 198stack.Push(new Tuple<XElement, XElement>(child1, child2));
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 (37)
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)
159stack.Push(this.Root); 167stack.Push(child); 181stack.Push(trivia.GetStructure()!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (3)
88candidates.Push(root); 99candidates.Push(right); 102candidates.Push(left);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
73_stack.Push(_currentNode!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
47stack.Push(current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
30stack.Push(v); 36stack.Push(v); 42stack.Push(v); 53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
878regionStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!); 884ifStack.Push((TDirectiveTriviaSyntax)trivia.GetStructure()!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (2)
30stack.Push(node); 39stack.Push(child);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (4)
90spineNodes.Push(root); 101spineNodes.Push(right); 111spineNodes.Push(left); 167spineNodes.Push(parentNode.Left);
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\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
427_contextualSymbolStack.Push(contextualSymbol);
Storage\SQLite\v2\SQLitePersistentStorage_Helpers.cs (1)
116s_byteArrayPool.Push(bytes);
Microsoft.DotNet.AsmDiff (4)
ApiRecordingCSharpDiffWriter.cs (2)
68_apiStack.Push(_apis); 69_apiDefinitionStack.Push(apiDefinition);
DiffEngine.cs (1)
214startLineStack.Push(diffLine);
DiffRecorder.cs (1)
142_styleStack.Push(convertedStyle);
Microsoft.DotNet.Build.Manifest (1)
VersionIdentifier.cs (1)
132majorMinorPatchStack.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\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (4)
168depStack.Push(assembly); 240depStack.Push(depAssm); 259depStack.Push(assembly); 299depStack.Push(depAssm);
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (4)
Modeler\ServiceClientModelFactory.cs (4)
66_methodNameStack.Value.Push(name); 80_parameterNameStack.Value.Push(name); 94_typeNameStack.Value.Push(name); 108_propertyNameStack.Value.Push(name);
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)
114_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.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.Extensions.SecretManager.Tools.Tests (3)
UserSecretsTestFixture.cs (3)
19_disposables.Push(() => TryDelete(Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(TestSecretsId)))); 67_disposables.Push(() => 77_disposables.Push(() => TryDelete(projectPath.FullName));
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
PresentationBuildTasks (3)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\MarkupExtensionParser.cs (2)
1034bracketCharacterStack.Push(args[i]); 1147bracketCharacterStack.Push(args[i]);
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)
323stack.Push(block.LeftChildBlock); 324stack.Push(block.RightChildBlock); 329stack.Push(block.RightChildBlock); 339stack.Push(block.LeftChildBlock); 404stack.Push(block.RightChildBlock); 405stack.Push(block.LeftChildBlock); 410stack.Push(block.LeftChildBlock); 420stack.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)
4939_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)
821_xamlWriterStack.Push(_xamlNodesWriter); 1328_xamlWriterStack.Push(_xamlNodesWriter); 2397_xamlWriterStack.Push(_xamlNodesWriter); 2464_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); 1536readFirstConstructor.Push(true); 1549readFirstConstructor.Push(true); 1552readProperty.Push(false); 1553readConstructor.Push(false); 1554readFirstConstructor.Push(false); 1581readConstructor.Push(true); 1586readConstructor.Push(false); 1588readFirstConstructor.Push(false); 1600readFirstConstructor.Push(true); 1616readProperty.Push(true); 1628readProperty.Push(true); 1641readProperty.Push(true); 1655readProperty.Push(true); 1669readProperty.Push(true); 1835_nodeStack.Push(nodeInfo); 2007_nodeStack.Push(nodeInfo); 2102_nodeStack.Push(nodeInfo); 2232_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 (8)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
138_seenRethrowInCatchClauses.Push(false); 156_seenRethrowInCatchClauses.Push(true);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
647_stack.Push(root); 681stack.Push(child); 766_stack.Push(root); 799stack.Push(child); 872_stack.Push(root); 905stack.Push(child);
System.CodeDom (2)
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); 1636pendingNodes.Push((this, newRoot)); 1646pendingNodes.Push((left, clonedNode)); 1653pendingNodes.Push((right, clonedNode)); 1882_stack.Push(node); 1921_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)
295context.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)
189stack.Push(args[format[pos] - '1']); 192stack.Push(stack.Pop().String.Length); 203stack.Push(intLit); 206stack.Push((int)format[pos + 1]); 222stack.Push(sourceVars[getIndex]); 242stack.Push( 263stack.Push( 322stack.Push(1); 332stack.Push(AsInt(format[pos] == ';')); 341stack.Push(1);
System.Data.Common (1)
System\Data\XmlDataLoader.cs (1)
1128_childRowsStack.Push(row); // Push row to the stack
System.Formats.Asn1 (2)
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.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)
274_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)
437directoryModificationTimes.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\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)
224_blockStack.Push(forState); 294_blockStack.Push(forState); 373_blockStack.Push(ifState); 390_blockStack.Push(ifState); 404_blockStack.Push(ifState); 1129_blockStack.Push(ifState); 1220_blockStack.Push(switchState); 1260_blockStack.Push(ifState); 1275_blockStack.Push(startWhile); 1282_blockStack.Push(startWhile);
System.Private.Windows.Core (3)
System\Private\Windows\BinaryFormat\Deserializer\Deserializer.cs (3)
185_parserStack.Push(parser); 200_parserStack.Push(currentParser); 203_parserStack.Push(requiredParser);
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()); 1160_blockStack!.Push(ifState); 1307_blockStack.Push(_elseIfState); 1328_blockStack.Push(_elseIfState); 1393_whileStack!.Push(whileState);
System\Xml\XPath\Internal\PreSiblingQuery.cs (1)
52inputStk.Push(currentNode.Clone());
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (3)
1544_stkNames.Push(prefix); 1545_stkNames.Push(localName); 1546_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)
2870_vars.Push(let);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1425_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.Text.Json (2)
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 (15)
System\Text\RegularExpressions\RegexCompiler.cs (1)
383_pool.Push(_local);
System\Text\RegularExpressions\RegexNode.cs (2)
206toExamine.Push(this); 218toExamine.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.Generator (3)
RegexGenerator.Emitter.cs (1)
49parentClasses.Push($"partial {parent.Keyword} {parent.Name}");
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (2)
206toExamine.Push(this); 218toExamine.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)
1133targetToolStrip.MergeHistoryStack.Push(mergeHistory); 1197history.Push(maction); 1209history.Push(maction); 1230history.Push(maction); 1244history.Push(maction); 1316reApply.Push(history.MergedToolStrip); 1321reApply.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)
242_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>());
Test.Utilities (8)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
138_seenRethrowInCatchClauses.Push(false); 156_seenRethrowInCatchClauses.Push(true);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
647_stack.Push(root); 681stack.Push(child); 766_stack.Push(root); 799stack.Push(child); 872_stack.Push(root); 905stack.Push(child);
Text.Analyzers (8)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
138_seenRethrowInCatchClauses.Push(false); 156_seenRethrowInCatchClauses.Push(true);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (6)
647_stack.Push(root); 681stack.Push(child); 766_stack.Push(root); 799stack.Push(child); 872_stack.Push(root); 905stack.Push(child);
xunit.console (2)
CommandLine.cs (2)
22arguments.Push(args[i]); 203arguments.Push(arg);