357 references to Stack
aspire (2)
Utils\FileSystemHelper.cs (2)
29var stack = new Stack<(DirectoryInfo Source, string Destination)>(); 70var dirs = new Stack<(string Path, int Depth)>();
Aspire.Dashboard (1)
Model\Otlp\SpanWaterfallViewModel.cs (1)
94var stack = new Stack<SpanWaterfallViewModel>();
Aspire.Hosting (2)
Orchestrator\RelationshipEvaluator.cs (1)
64var visited = new Stack<IResource>();
Pipelines\DistributedApplicationPipeline.cs (1)
828var path = new Stack<string>();
Aspire.Hosting.Docker (1)
src\Shared\Yaml\ForceQuotedStringsEventEmitter.cs (1)
23private readonly Stack<EmitterState> _state = new();
Aspire.Hosting.Kubernetes (1)
src\Shared\Yaml\ForceQuotedStringsEventEmitter.cs (1)
23private readonly Stack<EmitterState> _state = new();
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
36private readonly Stack<TypeSpec> _visitedTypes = new();
dotnet (1)
Commands\Solution\Remove\SolutionRemoveCommand.cs (1)
107Stack<SolutionFolderModel> stack = new();
dotnet-svcutil-lib (10)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (1)
72_stkNmsp = new Stack<XPathNodeRef>();
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (4)
482Stack<InteriorNode> nodeStack = new Stack<InteriorNode>(); 542Stack<SequenceConstructPosContext> contextStack = new Stack<SequenceConstructPosContext>(); 643Stack<SequenceNode> nodeStack = new Stack<SequenceNode>(); 727Stack<ChoiceNode> nodeStack = new Stack<ChoiceNode>();
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (1)
1042Stack<ParseElementOnlyContent_LocalFrame> localFrames = new Stack<ParseElementOnlyContent_LocalFrame>();
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\precedingsibling.cs (1)
52Stack<XPathNavigator> inputStk = new Stack<XPathNavigator>();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (1)
222_blockStack = new Stack<object>();
FrameworkFork\System.ServiceModel\Internals\System\Runtime\SynchronizedPool.cs (1)
352_items = new Stack<T>();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (1)
470_stackedRetrievers = new Stack<MetadataRetriever>();
GenerateDocumentationAndConfigFiles (5)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
117private readonly Stack<bool> _seenRethrowInCatchClauses = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
38private static readonly ObjectPool<Stack<TNode>> s_nodeStackPool = new(() => new(), 128, trimOnFree: false);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
853private static readonly ObjectPool<Stack<TDirectiveTriviaSyntax>> s_stackPool = new(() => new());
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
332private readonly Stack<ISymbol?> _contextualSymbolStack = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
58var stack = new Stack<INamedTypeSymbol>();
ILAssembler (8)
EntityRegistry.cs (2)
685Stack<(string Namespace, string Name)> allTypeNames = new(); 1192Stack<TypeDefinitionEntity> containingTypes = new();
GrammarVisitor.cs (4)
1330Stack<TypeName> containingTypes = new(); 1705private readonly Stack<string> _currentNamespace = new(); 1707private readonly Stack<EntityRegistry.TypeDefinitionEntity> _currentTypeDefinition = new(); 2249Stack<TypeName> containingTypes = new();
PreprocessedTokenSource.cs (2)
18private readonly Stack<(ITokenSource Source, int ActiveIfDefBlocks, string? IncludedFromFile, int IncludedFromLine)> _includeSourceStack = new(); 22private readonly Stack<(string Var, bool Defined, bool IsElse)> _activeIfDefBlocks = new();
ILCompiler.Compiler (9)
Compiler\ObjectWriter\Dwarf\DwarfInfoWriter.cs (1)
27private readonly Stack<DwarfAbbrev> _dieStack = new();
Compiler\SubstitutedILProvider.cs (1)
143Stack<int> offsetsToVisit = new Stack<int>();
Compiler\TypePreinit.cs (3)
120recursionProtect ??= new Stack<MethodDesc>(); 524recursionProtect ??= new Stack<MethodDesc>(); 680recursionProtect ??= new Stack<MethodDesc>();
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\Graph.Cycles.cs (2)
19private Stack<Vertex> _inProgress = new Stack<Vertex>(); 98private Stack<StrongConnectStackElement> IterativeStrongConnectStack = new Stack<StrongConnectStackElement>();
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\IL\NativeStructType.cs (1)
186Stack<MetadataType> typesBeingLookedAt = (s_typesBeingLookedAt ??= new Stack<MetadataType>());
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
491private Stack<int> _indexStack = new Stack<int>();
ILCompiler.ReadyToRun (5)
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
3355private readonly Stack<List<ISymbolNode>> _stashedPrecodeFixups = new Stack<List<ISymbolNode>>(); 3356private readonly Stack<HashSet<MethodDesc>> _stashedInlinedMethods = new Stack<HashSet<MethodDesc>>();
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\Graph.Cycles.cs (2)
19private Stack<Vertex> _inProgress = new Stack<Vertex>(); 98private Stack<StrongConnectStackElement> IterativeStrongConnectStack = new Stack<StrongConnectStackElement>();
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
491private Stack<int> _indexStack = new Stack<int>();
ILCompiler.TypeSystem (3)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaSignatureParser.cs (3)
330_indexStack = new Stack<int>(); 418_indexStack = new Stack<int>(); 470_indexStack = new Stack<int>();
illink (6)
ILLink.Tasks (1)
CreateRuntimeRootDescriptorFile.cs (1)
564readonly Stack<bool?> activeSections = new Stack<bool?>();
Microsoft.AspNetCore.Components (2)
Rendering\RenderTreeBuilder.cs (1)
30private readonly Stack<int> _openElementIndices = new Stack<int>();
src\aspnetcore\src\Http\Routing\src\Tree\TreeEnumerator.cs (1)
18_stack = new Stack<UrlMatchingNode>();
Microsoft.AspNetCore.Components.Analyzers (1)
VirtualizeItemComparerAnalyzer.cs (1)
43var componentStack = new Stack<ComponentState>();
Microsoft.AspNetCore.Components.Endpoints (2)
FormMapping\Converters\CollectionAdapters\StackBufferAdapter.cs (1)
8public static Stack<TElement> CreateBuffer() => new();
Rendering\EndpointHtmlRenderer.EventDispatch.cs (1)
257Stack<string> stack = new();
Microsoft.AspNetCore.Components.Server (2)
BlazorPack\SequenceOfT.cs (1)
25private readonly Stack<SequenceSegment> segmentPool = new Stack<SequenceSegment>();
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\SequencePool.cs (1)
40private readonly Stack<Sequence<byte>> pool = new Stack<Sequence<byte>>();
Microsoft.AspNetCore.Diagnostics (1)
src\aspnetcore\src\Shared\RazorViews\BaseView.cs (1)
23private readonly Stack<TextWriter> _textWriterStack = new Stack<TextWriter>();
Microsoft.AspNetCore.Hosting (1)
src\aspnetcore\src\Shared\RazorViews\BaseView.cs (1)
23private readonly Stack<TextWriter> _textWriterStack = new Stack<TextWriter>();
Microsoft.AspNetCore.Http.Extensions (1)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\StackBufferAdapter.cs (1)
8public static Stack<TElement> CreateBuffer() => new();
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\DefaultModelBindingContext.cs (1)
27private readonly Stack<State> _stack = new Stack<State>();
Microsoft.AspNetCore.Mvc.Razor (2)
RazorPageBase.cs (2)
27private readonly Stack<TextWriter> _textWriterStack = new Stack<TextWriter>(); 142private Stack<TagHelperScopeInfo> TagHelperScopes { get; } = new Stack<TagHelperScopeInfo>();
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
PooledObjects\StackPool`1.Policy.cs (1)
31public override Stack<T> Create() => new();
Microsoft.AspNetCore.Routing (2)
Tree\LinkGenerationDecisionTree.cs (1)
229var branchStack = new Stack<string>();
Tree\TreeEnumerator.cs (1)
18_stack = new Stack<UrlMatchingNode>();
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpProtocol.cs (2)
814_onStarting = new Stack<KeyValuePair<Func<object, Task>, object>>(); 823_onCompleted = new Stack<KeyValuePair<Func<object, Task>, object>>();
Internal\Infrastructure\KestrelConnection.cs (1)
84_onCompleted = new Stack<KeyValuePair<Func<object, Task>, object>>();
Microsoft.AspNetCore.SignalR.Core (1)
src\aspnetcore\src\SignalR\common\Shared\MessageBuffer.cs (1)
54private readonly Stack<LinkedBuffer> _pool = new();
Microsoft.Build (8)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
657Stack<INodePacketHandler> handlerStack = _nodeIdToPacketHandlerStack.GetOrAdd(context.NodeId, _ => new Stack<INodePacketHandler>());
BackEnd\Components\RequestBuilder\TargetEntry.cs (1)
761_legacyCallTargetScopes = new Stack<Lookup.Scope>();
BackEnd\Components\Scheduler\SchedulingPlan.cs (1)
290Stack<PlanConfigData> currentPath = new Stack<PlanConfigData>();
Evaluation\ConditionEvaluator.cs (1)
249Stack<GenericExpressionNode> expressionPool = cachedExpressionTreesForCurrentOptions.GetOrAdd(condition, _ => new Stack<GenericExpressionNode>());
Evaluation\LazyItemEvaluator.cs (2)
320Stack<LazyItemList> itemListStack = new Stack<LazyItemList>(); 343globsToIgnoreStack ??= new Stack<ImmutableHashSet<string>>();
Evaluation\Preprocessor.cs (1)
45private readonly Stack<string> _filePaths = new Stack<string>();
Evaluation\Profiler\EvaluationProfiler.cs (1)
22private readonly Stack<EvaluationFrame> _evaluationStack = new Stack<EvaluationFrame>();
Microsoft.Build.Tasks.Core (1)
ParserState.cs (1)
22private readonly Stack<string> _namespaceStack = new Stack<string>();
Microsoft.CodeAnalysis (9)
Collections\KeyedStack.cs (1)
25store = new Stack<R>();
Collections\Rope.cs (3)
43_stack = new Stack<Rope>(); 188var stack = new Stack<Rope>(); 217var stack = new Stack<Rope>();
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (2)
31private static readonly ObjectPool<Stack<string>> s_stringStackPool = new ObjectPool<Stack<string>>(static () => new Stack<string>()); 32private static readonly ObjectPool<Stack<SyntaxNode>> s_nodeStackPool = new ObjectPool<Stack<SyntaxNode>>(static () => new Stack<SyntaxNode>());
Syntax\SyntaxNavigator.cs (2)
93= new ObjectPool<Stack<ChildSyntaxList.Enumerator>>(() => new Stack<ChildSyntaxList.Enumerator>(), 10); 139= new ObjectPool<Stack<ChildSyntaxList.Reversed.Enumerator>>(() => new Stack<ChildSyntaxList.Reversed.Enumerator>(), 10);
TreeDumper.cs (1)
267var stack = new Stack<KeyValuePair<TreeDumperNode?, TreeDumperNode>>();
Microsoft.CodeAnalysis.Analyzers (5)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
117private readonly Stack<bool> _seenRethrowInCatchClauses = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
38private static readonly ObjectPool<Stack<TNode>> s_nodeStackPool = new(() => new(), 128, trimOnFree: false);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
853private static readonly ObjectPool<Stack<TDirectiveTriviaSyntax>> s_stackPool = new(() => new());
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
332private readonly Stack<ISymbol?> _contextualSymbolStack = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
58var stack = new Stack<INamedTypeSymbol>();
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
117private readonly Stack<bool> _seenRethrowInCatchClauses = new();
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (1)
289_interproceduralCallStack = new Stack<IOperation>();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
38private static readonly ObjectPool<Stack<TNode>> s_nodeStackPool = new(() => new(), 128, trimOnFree: false);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
853private static readonly ObjectPool<Stack<TDirectiveTriviaSyntax>> s_stackPool = new(() => new());
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
332private readonly Stack<ISymbol?> _contextualSymbolStack = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
58var stack = new Stack<INamedTypeSymbol>();
Microsoft.CodeAnalysis.CodeStyle (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
38private static readonly ObjectPool<Stack<TNode>> s_nodeStackPool = new(() => new(), 128, trimOnFree: false);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
853private static readonly ObjectPool<Stack<TDirectiveTriviaSyntax>> s_stackPool = new(() => new());
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
332private readonly Stack<ISymbol?> _contextualSymbolStack = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
58var stack = new Stack<INamedTypeSymbol>();
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.QueryTranslationState.cs (1)
37public readonly Stack<QueryClauseSyntax> clauses = new Stack<QueryClauseSyntax>();
Compilation\SyntaxAndDeclarationManager.cs (1)
23new ObjectPool<Stack<SingleNamespaceOrTypeDeclaration>>(() => new Stack<SingleNamespaceOrTypeDeclaration>());
Compiler\DocumentationCommentCompiler.cs (1)
1374_temporaryStringBuilders = new Stack<TemporaryStringBuilder>();
Declarations\DeclarationTable.cs (2)
187var stack = new Stack<Declaration>(); 292var stack = new Stack<MergedNamespaceOrTypeDeclaration>();
Emitter\Model\PEModuleBuilder.cs (2)
344var namespacesAndTypesToProcess = new Stack<NamespaceOrTypeSymbol>(); 561var namespacesToProcess = new Stack<NamespaceSymbol>();
Symbols\TypeParameterSymbolExtensions.cs (1)
32stack ??= new Stack<TypeParameterSymbol>();
Syntax\SyntaxEquivalence.cs (1)
17new ObjectPool<Stack<(GreenNode?, GreenNode?)>>(() => new Stack<(GreenNode?, GreenNode?)>());
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
959Stack = new Stack<CSharpSyntaxNode>();
DecompiledSource\CSharpDecompiledSourceService.cs (2)
109var containingTypeStack = new Stack<string>(); 110var containingNamespaceStack = new Stack<string>();
Microsoft.CodeAnalysis.Extensions.Package (1)
Symbols\INamedTypeSymbolExtensions.cs (1)
58var stack = new Stack<INamedTypeSymbol>();
Microsoft.CodeAnalysis.Features (5)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (2)
68private readonly Stack<(string target, string hint)> _navigationTargetStack = new(); 75private readonly Stack<TaggedTextStyle> _styleStack = new();
ExtractMethod\MethodExtractor.TriviaResult.cs (1)
140var stack = new Stack<SyntaxTrivia>();
Shared\Utilities\ExtractTypeHelpers.cs (1)
169var typesToVisit = new Stack<INamedTypeSymbol>();
ValueTracking\ValueTrackingProgressCollector.cs (1)
16private readonly Stack<ValueTrackedItem> _items = new();
Microsoft.CodeAnalysis.Razor.Compiler (5)
Language\Components\ScopeStack.cs (1)
60_stack ??= new();
Language\Legacy\HtmlMarkupParser.cs (3)
27private Stack<TagTracker> _tagTracker = new Stack<TagTracker>(); 135_tagTracker = new Stack<TagTracker>(); 200_tagTracker = new Stack<TagTracker>();
Language\Legacy\TagHelperParseTreeRewriter.cs (1)
69private readonly Stack<TagTracker> _trackerStack = new();
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
117private readonly Stack<bool> _seenRethrowInCatchClauses = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
38private static readonly ObjectPool<Stack<TNode>> s_nodeStackPool = new(() => new(), 128, trimOnFree: false);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
853private static readonly ObjectPool<Stack<TDirectiveTriviaSyntax>> s_stackPool = new(() => new());
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
332private readonly Stack<ISymbol?> _contextualSymbolStack = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
58var stack = new Stack<INamedTypeSymbol>();
Microsoft.CodeAnalysis.VisualBasic (2)
Compilation\DocumentationComments\DocWriter.vb (1)
136Me._temporaryStringBuilders = New Stack(Of TemporaryStringBuilder)()
Lowering\Diagnostics\DiagnosticsPass.vb (1)
171_expressionsBeingVisited = New Stack(Of BoundExpression)()
Microsoft.CodeAnalysis.Workspaces (7)
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (1)
32private static readonly ObjectPool<Stack<SyntaxNodeOrToken>> s_stackPool = new(() => new(), trimOnFree: false);
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (2)
38private static readonly ObjectPool<Stack<ChildSyntaxList.Enumerator>> s_enumeratorPool = new(() => new()); 39private static readonly ObjectPool<Stack<ChildSyntaxList.Reversed.Enumerator>> s_reversedEnumeratorPool = new(() => new());
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
38private static readonly ObjectPool<Stack<TNode>> s_nodeStackPool = new(() => new(), 128, trimOnFree: false);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
853private static readonly ObjectPool<Stack<TDirectiveTriviaSyntax>> s_stackPool = new(() => new());
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
332private readonly Stack<ISymbol?> _contextualSymbolStack = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
58var stack = new Stack<INamedTypeSymbol>();
Microsoft.Diagnostics.DataContractReader.Legacy (1)
TypeNameBuilder.cs (1)
454GenericStartsStack ??= new();
Microsoft.DotNet.PackageTesting (2)
VerifyClosure.cs (2)
167var depStack = new Stack<AssemblyInfo>(); 258var depStack = new Stack<AssemblyInfo>();
Microsoft.DotNet.SharedFramework.Sdk (2)
src\arcade\src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (2)
167var depStack = new Stack<AssemblyInfo>(); 258var depStack = new Stack<AssemblyInfo>();
Microsoft.Extensions.AI.Evaluation.Console (1)
Utilities\ExceptionUtilities.cs (1)
21var toCheck = new Stack<Exception>();
Microsoft.Extensions.Configuration (1)
ConfigurationSectionDebugView.cs (1)
47var stack = new Stack<IConfiguration>();
Microsoft.Extensions.Configuration.Abstractions (1)
ConfigurationExtensions.cs (1)
56var stack = new Stack<IConfiguration>();
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationFileParser.cs (1)
17private readonly Stack<string> _paths = new Stack<string>();
Microsoft.Extensions.Configuration.Xml (2)
XmlStreamConfigurationProvider.cs (2)
54var currentPath = new Stack<XmlConfigurationElement>(); 425_lengths = new Stack<int>();
Microsoft.Extensions.DataIngestion.Abstractions (1)
IngestionDocument.cs (1)
44Stack<IngestionDocumentElement> elementsToProcess = new();
Microsoft.Extensions.FileSystemGlobbing (1)
Internal\PatternContexts\PatternContext.cs (1)
12private readonly Stack<TFrame> _stack = new();
Microsoft.Gen.BuildMetadata (1)
src\Generators\Shared\StringBuilderPool.cs (1)
16private readonly Stack<StringBuilder> _builders = new();
Microsoft.Gen.ComplianceReports (1)
Emitter.cs (1)
15private readonly Stack<int> _itemCounts = new();
Microsoft.Gen.Logging (2)
Emission\StringBuilderPool.cs (1)
11private readonly Stack<StringBuilder> _builders = new();
src\Generators\Shared\StringBuilderPool.cs (1)
16private readonly Stack<StringBuilder> _builders = new();
Microsoft.Gen.MetadataExtractor (2)
src\Generators\Microsoft.Gen.ComplianceReports\Emitter.cs (1)
15private readonly Stack<int> _itemCounts = new();
src\Generators\Shared\StringBuilderPool.cs (1)
16private readonly Stack<StringBuilder> _builders = new();
Microsoft.Gen.Metrics (1)
src\Generators\Shared\StringBuilderPool.cs (1)
16private readonly Stack<StringBuilder> _builders = new();
Microsoft.Gen.MetricsReports (1)
src\Generators\Shared\StringBuilderPool.cs (1)
16private readonly Stack<StringBuilder> _builders = new();
Microsoft.Interop.SourceGeneration (3)
ManualTypeMarshallingHelper.cs (1)
362Stack<ITypeSymbol> typeStack = new();
TypeSymbolExtensions.cs (2)
229Stack<INamedTypeSymbol> originalNestedTypes = new(); 309Stack<(ImmutableArray<ITypeSymbol>, ImmutableArray<NullableAnnotation>)> genericTypesToSubstitute = new();
Microsoft.Maui.Graphics (4)
AbstractCanvas.cs (1)
14 private readonly Stack<TState> _stateStack = new Stack<TState>();
PathBuilder.cs (1)
20 private readonly Stack<string> _commandStack = new Stack<string>();
ScalingCanvas.cs (2)
13 private readonly Stack<float> _scaleXStack = new Stack<float>(); 14 private readonly Stack<float> _scaleYStack = new Stack<float>();
Microsoft.Maui.Graphics.Text.Markdig (1)
Renderer\HtmlInlineRenderer.cs (1)
10 private Stack<SpanData> _spans = new Stack<SpanData>();
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
177stack = new Stack<T>();
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (1)
1882Stack<Piece> stack = new Stack<Piece>();
Utilities\StreamUtils.cs (1)
93var dirsLeft = new Stack<string>();
Microsoft.ML.Tokenizers (2)
Utils\DoubleArrayTrie.cs (2)
291private readonly Stack<uint> _nodeStack = new(); 292private readonly Stack<uint> _recycleBin = new();
Microsoft.ML.Tokenizers.Tests (2)
src\Microsoft.ML.Tokenizers\Utils\DoubleArrayTrie.cs (2)
291private readonly Stack<uint> _nodeStack = new(); 292private readonly Stack<uint> _recycleBin = new();
Microsoft.ML.TorchSharp (1)
AutoFormerV2\ObjectDetectionMetrics.cs (1)
260Stack<Tuple<float, float>> prStack = new(); // precision and recall * groundTruthBoxesNum (= true positive)
Microsoft.NET.Build.Tasks (2)
ProjectContext.cs (2)
223var nonExcludeFromPublishAssetsToSearch = new Stack<string>(); 224var excludeFromPublishAssetsToSearch = new Stack<string>();
Microsoft.TemplateEngine.Cli (2)
Commands\CommandLineUtils.cs (2)
35(end ??= new Stack<char>()).Push(']'); 95(end ??= new Stack<char>()).Push(']');
Microsoft.TemplateEngine.Core (5)
Expressions\Cpp\CppStyleEvaluatorDefinition.cs (1)
386Stack<Scope> parents = new Stack<Scope>();
Expressions\ScopeBuilder.cs (1)
79Stack<ScopeIsolator> parents = new Stack<ScopeIsolator>();
Operations\Conditional.cs (1)
129private readonly Stack<EvaluationState> _pendingCompletion = new Stack<EvaluationState>();
Operations\PhasedOperation.cs (2)
28Stack<IEnumerator<Phase>> sourceParents = new Stack<IEnumerator<Phase>>(); 29Stack<List<SpecializedPhase>> targetParents = new Stack<List<SpecializedPhase>>();
Microsoft.TemplateEngine.Edge (1)
ReflectionLoadProbingPath.cs (1)
55Stack<string> bestMatch = new Stack<string>();
Microsoft.TemplateEngine.Utils (6)
DirectedGraph.cs (1)
200private readonly Stack<T> _stack = new();
FileSystemInfoExtensions.cs (1)
35Stack<string> partStack = new Stack<string>();
Glob.cs (1)
136Stack<Checkpoint> checkpoints = new();
InMemoryFileSystem.cs (3)
211Stack<IEnumerator<KeyValuePair<string, FileSystemDirectory>>> directories = new(); 290Stack<IEnumerator<KeyValuePair<string, FileSystemDirectory>>> directories = new(); 380Stack<IEnumerator<KeyValuePair<string, FileSystemDirectory>>> directories = new();
Microsoft.TestPlatform.Filter.Source (4)
FilterExpression.cs (4)
229var operatorStack = new Stack<Operator>(); 230var filterStack = new Stack<FilterExpression>(); 338Stack<FilterExpression> filterStack = new(); 341Stack<T> result = new();
Microsoft.VisualStudio.TestPlatform.Common (5)
src\vstest\src\Microsoft.TestPlatform.Filter.Source\FilterExpression.cs (4)
229var operatorStack = new Stack<Operator>(); 230var filterStack = new Stack<FilterExpression>(); 338Stack<FilterExpression> filterStack = new(); 341Stack<T> result = new();
Utilities\SimpleJSON.cs (1)
536Stack<JSONNode> stack = new();
Microsoft.VisualStudio.TestPlatform.ObjectModel (4)
Nuget.Frameworks\CompatibilityProvider.cs (1)
236var toExpand = new Stack<NuGetFramework>();
Nuget.Frameworks\FrameworkExpander.cs (1)
34var toExpand = new Stack<NuGetFramework>();
Nuget.Frameworks\FrameworkNameProvider.cs (2)
361var toProcess = new Stack<NuGetFramework>(); 801var remaining = new Stack<NuGetFramework>();
Mono.Cecil.Mdb (2)
Mono.CompilerServices.SymbolWriter\MonoSymbolWriter.cs (1)
50 Stack<SourceMethodBuilder> current_method_stack = new Stack<SourceMethodBuilder> ();
Mono.CompilerServices.SymbolWriter\SourceMethodBuilder.cs (1)
100 _block_stack = new Stack<CodeBlockEntry> ();
NuGet.CommandLine.XPlat (1)
Commands\Why\DependencyGraphPrinter.cs (1)
63var stack = new Stack<StackOutputData>();
NuGet.Commands (1)
RestoreCommand\Utility\SpecValidationUtility.cs (1)
99var files = new Stack<string>();
NuGet.Common (1)
src\nuget-client\build\Shared\SimplePool.cs (1)
12private readonly Stack<T> _values = new();
NuGet.DependencyResolver.Core (3)
GraphModel\GraphOperations.cs (2)
188var nodeStrings = new Stack<string>(); 205var nodeStrings = new Stack<string>();
Remote\RemoteDependencyWalker.cs (1)
83var stackStates = new Stack<GraphNodeStackState>();
NuGet.Frameworks (5)
CompatibilityProvider.cs (1)
255var toExpand = new Stack<NuGetFramework>();
FrameworkExpander.cs (1)
34var toExpand = new Stack<NuGetFramework>();
FrameworkNameProvider.cs (2)
368var toProcess = new Stack<NuGetFramework>(); 813var remaining = new Stack<NuGetFramework>();
src\nuget-client\build\Shared\SimplePool.cs (1)
12private readonly Stack<T> _values = new();
NuGet.LibraryModel (1)
src\nuget-client\build\Shared\SimplePool.cs (1)
12private readonly Stack<T> _values = new();
NuGet.PackageManagement (1)
NuGetPackageManager.cs (1)
2542var executedNuGetProjectActions = new Stack<NuGetProjectAction>();
NuGet.Packaging (5)
Licenses\NuGetLicenseExpressionParser.cs (2)
33var operatorStack = new Stack<LicenseExpressionToken>(); 37var operandStack = new Stack<Tuple<bool, object>>();
PackageFolderReader.cs (1)
173var parents = new Stack<DirectoryInfo>();
Signing\DerEncoding\DerEncoder.cs (1)
1013Stack<byte> littleEndianBytes = new Stack<byte>();
src\nuget-client\build\Shared\SimplePool.cs (1)
12private readonly Stack<T> _values = new();
NuGet.ProjectModel (1)
DependencyGraphSpec.cs (1)
174var toWalk = new Stack<PackageSpec>();
NuGet.Protocol (3)
LegacyFeed\MetadataResourceV2Feed.cs (1)
40var tasks = new Stack<KeyValuePair<string, Task<IEnumerable<NuGetVersion>>>>();
LocalRepositories\LocalMetadataResource.cs (1)
43var tasks = new Stack<KeyValuePair<string, Task<IEnumerable<NuGetVersion>>>>();
src\nuget-client\build\Shared\SimplePool.cs (1)
12private readonly Stack<T> _values = new();
NuGet.Resolver (4)
CombinationSolver.cs (4)
90_pastForwardChecking = initialDomains.Select(d => new Stack<int>()).ToList(); 91_futureForwardChecking = initialDomains.Select(d => new Stack<int>()).ToList(); 92_reductions = initialDomains.Select(d => new Stack<Stack<T>>()).ToList(); 279var reductionAgainstFutureDomain = new Stack<T>();
NuGet.Versioning (1)
src\nuget-client\build\Shared\SimplePool.cs (1)
12private readonly Stack<T> _values = new();
PresentationBuildTasks (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\MarkupExtensionParser.cs (1)
927Stack<char> bracketCharacterStack = new Stack<char>();
PresentationCore (3)
MS\Internal\UIElementHelper.cs (1)
141Stack<DependencyObject> branchNodeStack = new Stack<DependencyObject>();
System\Windows\Media\Generated\RenderData.cs (1)
546Stack<PushType> pushStack = new Stack<PushType>();
System\Windows\Media3D\Viewport2DVisual3D.cs (1)
465Stack<Material> materialStack = new Stack<Material>();
PresentationFramework (17)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
1300private Stack<bool> _calledProcessAnnotations = new Stack<bool>();
MS\Internal\Globalization\BamlResourceDeserializer.cs (2)
352stackForProperty = new Stack<ILocalizabilityInheritable>(); 386private readonly Stack<BamlTreeNode> _bamlTreeStack = new();
MS\Internal\Globalization\BamlResourceSerializer.cs (1)
55_bamlTreeStack = new Stack<BamlTreeNode>();
MS\Internal\PtsHost\StructuralCache.cs (2)
781private Stack<DocumentFormatInfo> _documentFormatInfoStack = new Stack<DocumentFormatInfo>(); 858private Stack<DocumentArrangeInfo> _documentArrangeInfoStack = new Stack<DocumentArrangeInfo>();
System\Windows\Application.cs (1)
522s_NestedBamlLoadInfo = new Stack<NestedBamlLoadInfo>();
System\Windows\Controls\InkCanvas.cs (1)
287Stack<Transform> transforms = new Stack<Transform>();
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (1)
343_lookupResultStack = new Stack<LookupResult>();
System\Windows\Documents\TextStore.cs (1)
4863private Stack<IMECompositionTraceOp> _opStack = new Stack<IMECompositionTraceOp>();
System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
217private static Stack<Hashtable> _validResources = new Stack<Hashtable>();
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
32private Stack<XamlWriter> _xamlWriterStack = new Stack<XamlWriter>();
System\Windows\Markup\BamlReader.cs (4)
176_nodeStack = new Stack<BamlNodeInfo>(); 1455Stack<bool> readProperty = new(); 1456Stack<bool> readConstructor = new(); 1457Stack<bool> readFirstConstructor = new();
System\Windows\Markup\MarkupExtensionParser.cs (1)
927Stack<char> bracketCharacterStack = new Stack<char>();
ReachFramework (2)
Serialization\Manager\ReachVisualSerializer.cs (1)
96Stack<NodeContext> contextStack = new Stack<NodeContext>();
Serialization\Manager\ReachVisualSerializerAsync.cs (1)
124Stack<NodeContext> contextStack = new Stack<NodeContext>();
Roslyn.Diagnostics.Analyzers (5)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
117private readonly Stack<bool> _seenRethrowInCatchClauses = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
38private static readonly ObjectPool<Stack<TNode>> s_nodeStackPool = new(() => new(), 128, trimOnFree: false);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
853private static readonly ObjectPool<Stack<TDirectiveTriviaSyntax>> s_stackPool = new(() => new());
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
332private readonly Stack<ISymbol?> _contextualSymbolStack = new();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
58var stack = new Stack<INamedTypeSymbol>();
Stress.ApiService (1)
TraceCreator.cs (1)
37var activityStack = new Stack<Activity>();
System.CodeDom (1)
src\runtime\src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
168var subTypeNames = new Stack<string>();
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\CompositionException.cs (1)
267context.Path = new Stack<CompositionError>();
System\ComponentModel\Composition\Hosting\ImportEngine.cs (1)
24private readonly Stack<PartManager> _recursionStateStack = new Stack<PartManager>();
System.Composition.Hosting (1)
System\Composition\Hosting\Core\ExportDescriptorRegistryUpdate.cs (1)
40var checking = new Stack<CompositionDependency>();
System.Console (3)
System\IO\StdInReader.cs (2)
23private readonly Stack<ConsoleKeyInfo> _tmpKeys = new Stack<ConsoleKeyInfo>(); // temporary working stack; should be empty outside of ReadLine 24private readonly Stack<ConsoleKeyInfo> _availableKeys = new Stack<ConsoleKeyInfo>(); // a queue of already processed key infos available for reading
System\TermInfo.cs (1)
69t_cachedStack = stack = new Stack<FormatParam>();
System.Formats.Asn1 (3)
System\Formats\Asn1\AsnDecoder.BitString.cs (1)
544readerStack ??= new Stack<(int, int, bool, int)>();
System\Formats\Asn1\AsnDecoder.OctetString.cs (1)
409readerStack ??= new Stack<(int, int, bool, int)>();
System\Formats\Asn1\AsnWriter.cs (1)
603_nestingStack ??= new Stack<StackFrame>();
System.Formats.Cbor (5)
System\Formats\Cbor\Reader\CborReader.cs (1)
176_nestedDataItems ??= new Stack<StackFrame>();
System\Formats\Cbor\Reader\CborReader.Map.cs (1)
193_pooledKeyEncodingRangeAllocations ??= new Stack<HashSet<(int Offset, int Length)>>();
System\Formats\Cbor\Writer\CborWriter.cs (1)
257_nestedDataItems ??= new Stack<StackFrame>();
System\Formats\Cbor\Writer\CborWriter.Map.cs (2)
207_pooledKeyEncodingRangeSets ??= new Stack<HashSet<(int Offset, int Length)>>(); 234_pooledKeyValuePairEncodingRangeLists ??= new Stack<List<KeyValuePairEncodingRange>>();
System.Formats.Nrbf (1)
System\Formats\Nrbf\NrbfDecoder.cs (1)
153Stack<NextInfo> readStack = new();
System.Formats.Tar (2)
System\Formats\Tar\TarFile.cs (2)
658var directoryModificationTimes = new Stack<(string, DateTimeOffset)>(); 703var directoryModificationTimes = new Stack<(string, DateTimeOffset)>();
System.Linq.Expressions (10)
System\Dynamic\BindingRestrictions.cs (3)
146private readonly Stack<AndNode> _tests = new Stack<AndNode>(); 212var stack = new Stack<BindingRestrictions>(); 365var stack = new Stack<BindingRestrictions>();
System\Linq\Expressions\Compiler\KeyedStack.cs (1)
20_data.Add(key, stack = new Stack<TValue>());
System\Linq\Expressions\Compiler\StackSpiller.Temps.cs (1)
146_usedTemps ??= new Stack<ParameterExpression>();
System\Linq\Expressions\Compiler\VariableBinder.cs (2)
20private readonly Stack<CompilerScope> _scopes = new Stack<CompilerScope>(); 21private readonly Stack<BoundConstants> _constants = new Stack<BoundConstants>();
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
288private readonly Stack<ParameterExpression> _exceptionForRethrowStack = new Stack<ParameterExpression>();
System\Linq\Expressions\Interpreter\TypeOperations.cs (1)
505private readonly Stack<HashSet<ParameterExpression>> _shadowedVars = new Stack<HashSet<ParameterExpression>>();
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (1)
60private readonly Stack<HashSet<ParameterExpression>> _shadowedVars = new Stack<HashSet<ParameterExpression>>();
System.Private.CoreLib.Generators (2)
IntrinsicsInSystemPrivateCoreLibAnalyzer.cs (2)
400Stack<INamedTypeSymbol> symbolsToExamine = new Stack<INamedTypeSymbol>(); 428Stack<INamedTypeSymbol> symbolsToExamine = new Stack<INamedTypeSymbol>();
System.Private.DataContractSerialization (2)
src\runtime\src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
168var subTypeNames = new Stack<string>();
System\Runtime\Serialization\CodeGenerator.cs (1)
144_blockStack = new Stack<object>();
System.Private.Xml (20)
System\Xml\Cache\XPathDocumentBuilder.cs (1)
72_stkNmsp = new Stack<XPathNodeRef>();
System\Xml\Schema\ContentValidator.cs (5)
439Stack<InteriorNode> nodeStack = new Stack<InteriorNode>(); 494Stack<SequenceConstructPosContext> contextStack = new Stack<SequenceConstructPosContext>(); 569Stack<SequenceNode> nodeStack = new Stack<SequenceNode>(); 652Stack<ChoiceNode> nodeStack = new Stack<ChoiceNode>(); 1081_stack = new Stack<SyntaxTreeNode?>();
System\Xml\Schema\DtdParser.cs (1)
1030Stack<ParseElementOnlyContent_LocalFrame> localFrames = new Stack<ParseElementOnlyContent_LocalFrame>();
System\Xml\Schema\DtdParserAsync.cs (1)
661Stack<ParseElementOnlyContent_LocalFrame> localFrames = new Stack<ParseElementOnlyContent_LocalFrame>();
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
17private readonly Stack<XmlSchemaComplexType> _complexTypeStack = new Stack<XmlSchemaComplexType>();
System\Xml\Schema\SchemaSetCompiler.cs (1)
25private readonly Stack<XmlSchemaComplexType> _complexTypeStack = new Stack<XmlSchemaComplexType>();
System\Xml\Schema\XsdBuilder.cs (1)
630private readonly Stack<XmlSchemaObject> _containerStack = new Stack<XmlSchemaObject>();
System\Xml\Serialization\CodeGenerator.cs (3)
90_blockStack = new Stack<object>(); 91_whileStack = new Stack<WhileState>(); 377private readonly Stack<Label> _leaveLabels = new Stack<Label>();
System\Xml\XPath\Internal\PreSiblingQuery.cs (1)
49Stack<XPathNavigator> inputStk = new Stack<XPathNavigator>();
System\Xml\Xsl\XPath\XPathParser.cs (1)
14private readonly Stack<int> _posInfo = new Stack<int>();
System\Xml\Xsl\Xslt\InvokeGenerator.cs (1)
37_iterStack = new Stack<QilIterator>();
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
2858private readonly Stack<QilIterator> _vars = new Stack<QilIterator>();
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1247_newTemplates = new Stack<Template>();
System\Xml\Xsl\XsltOld\Compiler.cs (1)
647_stylesheets ??= new Stack<Stylesheet>();
System.Security.Cryptography (1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
293NestedSafeContentsStack pendingContents = new NestedSafeContentsStack();
System.Security.Cryptography.Pkcs (1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
293NestedSafeContentsStack pendingContents = new NestedSafeContentsStack();
System.ServiceModel.Primitives (1)
Internals\System\Runtime\SynchronizedPool.cs (1)
353_items = new Stack<T>();
System.Speech (4)
Internal\SrgsCompiler\BackEnd.cs (2)
472Stack<State> CloneStack = new(); // States to process 633Stack<State> stateToProcess = new(); // States to delete
Internal\SrgsCompiler\Graph.cs (1)
381Stack<State> mergeStates = new();
Synthesis\PromptBuilder.cs (1)
983private Stack<StackElement> _elementStack = new();
System.Text.Json (2)
System\Text\Json\Document\JsonDocument.cs (1)
1049Stack<int> traversalPath = new Stack<int>();
System\Text\Json\Serialization\IgnoreReferenceResolver.cs (1)
27_stackForCycleDetection ??= new Stack<ReferenceEqualsWrapper>();
System.Text.RegularExpressions (7)
System\Text\RegularExpressions\RegexCompiler.cs (1)
353_int32LocalsPool ??= new Stack<LocalBuilder>(),
System\Text\RegularExpressions\RegexNode.cs (1)
245var toExamine = new Stack<RegexNode>();
System\Text\RegularExpressions\Symbolic\BDD.cs (2)
250var toVisit = new Stack<BDD>(); 457var toVisit = new Stack<BDD>();
System\Text\RegularExpressions\Symbolic\MintermGenerator.cs (1)
92var stack = new Stack<PartitionTree>();
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
37Stack<(RegexNode Node, DoublyLinkedList<SymbolicRegexNode<BDD>> Result, DoublyLinkedList<SymbolicRegexNode<BDD>>[]? ChildResults)> stack = new();
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (1)
2377Stack<SymbolicRegexNode<TSet>> stack = new();
System.Text.RegularExpressions.Generator (2)
RegexGenerator.Emitter.cs (1)
73var parentClasses = new Stack<string>();
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (1)
245var toExamine = new Stack<RegexNode>();
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipService.cs (1)
1741private Stack<DependencyObject> _scopeStack = new Stack<DependencyObject>();
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\MergeHistory.cs (1)
16=> _mergeHistoryItemsStack ??= new Stack<MergeHistoryItem>();
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1326_mergeHistoryStack ??= new Stack<MergeHistory>();
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
766Stack<ToolStripDropDownItem> itemsStack = new();
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
1288Stack<ToolStrip> reApply = new();
System.Windows.Forms.Design (4)
System\ComponentModel\Design\DesignerHost.DesignerHostTransaction.cs (1)
18_host._transactions ??= new Stack<DesignerTransaction>();
System\ComponentModel\Design\UndoEngine.cs (1)
39_unitStack = new Stack<UndoUnit>();
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
13private readonly Stack<CommandID> _currentCommands = new();
System\Windows\Forms\Design\TabOrder.cs (1)
56_controlIndices = new Stack<int>();
System.Xaml (8)
System\Xaml\Parser\GenericTypeNameParser.cs (1)
257_stack = new Stack<TypeNameFrame>();
System\Xaml\Parser\MeScanner.cs (1)
621BracketCharacterStack = new Stack<char>();
System\Xaml\Parser\XamlScannerStack.cs (1)
31_stack = new Stack<XamlScannerFrame>();
System\Xaml\XamlMarkupExtensionWriter.cs (1)
38nodes = new Stack<Node>();
System\Xaml\XamlObjectReader.cs (2)
48nodes = new Stack<MarkupInfo>(); 72Stack<HashSet<string>> namesInCurrentScope = new Stack<HashSet<string>>();
System\Xaml\XamlXmlWriter.cs (2)
103namespaceScopes = new Stack<Frame>(); 107meNodesStack = new Stack<List<XamlNode>>();