594 references to Push
DesignSurfaceExt (3)
UndoEngineExt.cs (3)
33_redoStack.Push(unit); 55_undoStack.Push(unit); 71_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 (32)
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)
3325callOrder.Push(1); 3331callOrder.Push(2); 3376callOrder.Push(1); 3382callOrder.Push(2);
UpgradeTests.cs (1)
333disposables.Push(connection);
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)
86_disposables.Push(() => 97_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)
194stack.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)
677_onStarting.Push(new KeyValuePair<Func<object, Task>, object>(callback, state)); 689_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)
793_onStarting.Push(new KeyValuePair<Func<object, Task>, object>(callback, state)); 802_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)
125insertedHeaders.Push(data);
Microsoft.AspNetCore.Shared.Tests (1)
runtime\Http2\DynamicTableTest.cs (1)
125insertedHeaders.Push(data);
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
398pool.Push(tmp);
Microsoft.AspNetCore.SignalR.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
398pool.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)
1789requestsToAdd.Push(request);
BackEnd\Components\Scheduler\SchedulingPlan.cs (1)
315currentPath.Push(root);
Evaluation\Expander.cs (1)
2165transformFunctionStack.Push(new TransformFunction<S>(elementLocation, functionName, transformFunction, arguments));
Evaluation\LazyItemEvaluator.cs (2)
351globsToIgnoreStack.Push(globsToIgnoreForPreviousOperations.ToImmutable()); 354itemListStack.Push(currentList);
Evaluation\Preprocessor.cs (2)
98_filePaths.Push(_project.FullPath); 315_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)
131stack.Push(this); 140stack.Push(c._right); 141stack.Push(c._left); 160stack.Push(this); 172stack.Push(c._right); 173stack.Push(c._left); 186stack.Push(this); 196stack.Push(c._right); 197stack.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.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)
74_stack.Push(_currentNode!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
47stack.Push(current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
31stack.Push(v); 37stack.Push(v); 43stack.Push(v); 54stack.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)
1235_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)
962Stack.Push(fromClause); 975Stack.Push(node); 979public 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)
263stack.Push(node.ChildNodesAndTokens().GetEnumerator()); 277stack.Push(en); // put it back on stack (struct enumerator) 285stack.Push(current.ChildNodesAndTokens().GetEnumerator());
Microsoft.CodeAnalysis.EditorFeatures (3)
InlineRename\AbstractInlineRenameUndoManager.cs (3)
128this.UndoStack.Push(this.initialState); 151this.RedoStack.Push(this.currentState); 165this.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)
143stack.Push(trivia); 165stack.Push(trivia);
Shared\Utilities\ExtractTypeHelpers.cs (1)
172typesToVisit.Push(currentType);
ValueTracking\ValueTrackingProgressCollector.cs (1)
26_items.Push(item);
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)
74_stack.Push(_currentNode!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
47stack.Push(current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (4)
31stack.Push(v); 37stack.Push(v); 43stack.Push(v); 54stack.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.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.DotNet.VersionTools (1)
BuildManifest\VersionIdentifier.cs (1)
132majorMinorPatchStack.Push((potentialVersionSegment, currentIndex));
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)
142_itemCounts.Push(_itemCount); 160_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.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.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.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)
1042bracketCharacterStack.Push(args[i]); 1155bracketCharacterStack.Push(args[i]);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\StyleModeStack.cs (1)
58_stack.Push(mode);
PresentationCore (18)
MS\Internal\TextFormatting\TextStore.cs (1)
2709directionalEmbeddingStack.Push(currentScope.TextModifier);
System\Windows\EventRoute.cs (1)
312(_branchNodeStack ??= new Stack<BranchNode>(1)).Push(branchNode);
System\Windows\Media\BoundsDrawingContextWalker.cs (3)
361_clipStack.Push(_clip); 416_transformStack.Push(_transform); 630_pushTypeStack.Push(pushType);
System\Windows\Media\DrawingDrawingContext.cs (1)
1371_previousDrawingGroupStack.Push(_currentDrawingGroup);
System\Windows\Media\Generated\RenderData.cs (9)
941pushStack.Push(PushType.Other); 959pushStack.Push(PushType.Other); 977pushStack.Push(PushType.Other); 988pushStack.Push(PushType.Other); 1006pushStack.Push(PushType.Other); 1024pushStack.Push(PushType.Other); 1042pushStack.Push(PushType.Other); 1053pushStack.Push(PushType.Other); 1064pushStack.Push(PushType.BitmapEffect);
System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
334_pointStack.Push(_point);
System\Windows\Media3D\Viewport2DVisual3D.cs (2)
480materialStack.Push(material); 533materialStack.Push(m);
PresentationFramework (61)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (3)
1268_calledProcessAnnotations.Push(false); 1297_calledProcessAnnotations.Push(value); 1309_calledProcessAnnotations.Push(false);
MS\Internal\Data\LiveShapingBlock.cs (8)
329stack.Push(block.LeftChildBlock); 330stack.Push(block.RightChildBlock); 335stack.Push(block.RightChildBlock); 345stack.Push(block.LeftChildBlock); 410stack.Push(block.RightChildBlock); 411stack.Push(block.LeftChildBlock); 416stack.Push(block.LeftChildBlock); 426stack.Push(block.RightChildBlock);
MS\Internal\Globalization\BamlResourceDeserializer.cs (2)
315_bamlTreeStack.Push(node); 373stackForProperty.Push(node);
MS\Internal\Globalization\BamlResourceSerializer.cs (2)
67_bamlTreeStack.Push(tree.Root); 106_bamlTreeStack.Push(children[i]);
MS\Internal\Ink\EditingCoordinator.cs (1)
622_activationStack.Push(newEditingBehavior);
MS\Internal\PtsHost\StructuralCache.cs (2)
716_documentFormatInfoStack.Push(_currentFormatInfo); 814_documentArrangeInfoStack.Push(_currentArrangeInfo);
System\Windows\Application.cs (1)
570s_NestedBamlLoadInfo.Push(loadBamlSyncInfo);
System\Windows\Controls\InkCanvas.cs (2)
291transforms.Push(transform); 304transforms.Push(transformGroup.Children[i]);
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (1)
354_lookupResultStack.Push(result);
System\Windows\Documents\TextRangeBase.cs (3)
806listItemCounter.Push(0); 840listItemCounter.Push(((IList)listItem.SiblingListItems).IndexOf(listItem)); 853listItemCounter.Push(listItemIndex);
System\Windows\Documents\TextStore.cs (1)
4960_opStack.Push(op);
System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
140_validResources.Push(validResources);
System\Windows\FrameworkContentElement.cs (1)
1427branchNodeStack.Push(this);
System\Windows\FrameworkElement.cs (1)
3155branchNodeStack.Push(this);
System\Windows\Generated\FrameworkContentElement.cs (1)
427parentTreeState.InheritablePropertiesStack.Push(currentInheritableProperties);
System\Windows\Generated\FrameworkElement.cs (1)
425parentTreeState.InheritablePropertiesStack.Push(currentInheritableProperties);
System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
824_xamlWriterStack.Push(_xamlNodesWriter); 1327_xamlWriterStack.Push(_xamlNodesWriter); 2402_xamlWriterStack.Push(_xamlNodesWriter); 2472_xamlWriterStack.Push(_xamlNodesWriter);
System\Windows\Markup\BamlReader.cs (22)
1453readProperty.Push(false); // Property has not yet been read 1454readConstructor.Push(false); // Constructor section has not been read 1455readFirstConstructor.Push(false); // First constructor parameter has not been read 1502readProperty.Push(true); 1531readFirstConstructor.Push(true); 1544readFirstConstructor.Push(true); 1547readProperty.Push(false); 1548readConstructor.Push(false); 1549readFirstConstructor.Push(false); 1576readConstructor.Push(true); 1581readConstructor.Push(false); 1583readFirstConstructor.Push(false); 1595readFirstConstructor.Push(true); 1611readProperty.Push(true); 1623readProperty.Push(true); 1636readProperty.Push(true); 1650readProperty.Push(true); 1664readProperty.Push(true); 1829_nodeStack.Push(nodeInfo); 1999_nodeStack.Push(nodeInfo); 2094_nodeStack.Push(nodeInfo); 2222_nodeStack.Push(nodeInfo);
System\Windows\Markup\MarkupExtensionParser.cs (2)
1042bracketCharacterStack.Push(args[i]); 1155bracketCharacterStack.Push(args[i]);
System\Windows\Markup\StyleModeStack.cs (1)
58_stack.Push(mode);
System\Windows\TreeChangeInfo.cs (1)
45InheritablePropertiesStack.Push(CreateParentInheritableProperties(root, parent, isAddOperation));
ReachFramework (4)
Serialization\Manager\ReachVisualSerializer.cs (2)
113contextStack.Push(new NodeContext(visual)); 125contextStack.Push(new NodeContext(v));
Serialization\Manager\ReachVisualSerializerAsync.cs (2)
138contextStack.Push(new NodeContext(visual)); 176contextStack.Push(new NodeContext(v));
System.CodeDom (2)
src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (2)
206subTypeNames.Push(typeName.Substring(current + 1, subTypeNameEndIndex - current - 1)); 219subTypeNames.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)
114info.Stack.Push(info);
System\Formats\Nrbf\ClassRecord.cs (1)
162info.Stack.Push(info.With(allowed, primitiveType));
System\Formats\Nrbf\NrbfDecoder.cs (2)
317readStack.Push(new(allowed, classRecord, readStack, primitiveType)); 324readStack.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)
206subTypeNames.Push(typeName.Substring(current + 1, subTypeNameEndIndex - current - 1)); 219subTypeNames.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\Core\BinaryFormat\Deserializer\Deserializer.cs (3)
186_parserStack.Push(parser); 201_parserStack.Push(currentParser); 204_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)
380_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)
1161_scopeStack.Push(scopeElement); 1172_scopeStack.Push(scopeElement); 1190_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)
1137targetToolStrip.MergeHistoryStack.Push(mergeHistory); 1201history.Push(maction); 1213history.Push(maction); 1234history.Push(maction); 1248history.Push(maction); 1320reApply.Push(history.MergedToolStrip); 1325reApply.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)
261_stack.Push(frame); 270_stack.Push(frame);
System\Xaml\Parser\MeScanner.cs (2)
385bracketCharacterStack.Push(ch); 471bracketCharacterStack.Push(ch);
System\Xaml\Parser\XamlScannerStack.cs (2)
35_stack.Push( new XamlScannerFrame(null, null) ); 42_stack.Push(new XamlScannerFrame(type, ns));
System\Xaml\XamlMarkupExtensionWriter.cs (3)
317writer.nodes.Push(new Node { NodeType = XamlNodeType.StartObject, XamlType = type }); 388writer.nodes.Push(new Node 585writer.nodes.Push(new Node { NodeType = XamlNodeType.StartObject, XamlType = type });
System\Xaml\XamlObjectReader.cs (5)
79namesInCurrentScope.Push(new HashSet<string>()); 85nodes.Push(rootObject); 90nodes.Push(new NamespaceMarkupInfo() { XamlNode = node }); 119nodes.Push(subNode); 230namesInCurrentScope.Push(new HashSet<string>());
System\Xaml\XamlXmlWriter.cs (10)
108namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 499namespaceScopes.Push(temp); 525namespaceScopes.Push(temp); 993writer.namespaceScopes.Push(new Frame 1009writer.namespaceScopes.Push(new Frame 1151writer.namespaceScopes.Push(new Frame 1229writer.namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 1357writer.namespaceScopes.Push(new Frame { AllocatingNodeType = isObjectFromMember ? XamlNodeType.GetObject : XamlNodeType.StartObject }); 1374writer.namespaceScopes.Push(tempFrame); 1598writer.meNodesStack.Push(new List<XamlNode>());
xunit.console (2)
CommandLine.cs (2)
22arguments.Push(args[i]); 203arguments.Push(arg);