247 references to Stack
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
36private readonly Stack<TypeSpec> _visitedTypes = new();
DesignSurfaceExt (2)
UndoEngineExt.cs (2)
10private readonly Stack<UndoUnit> _undoStack = new(); 11private readonly Stack<UndoUnit> _redoStack = 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>();
Identity.DefaultUI.WebSite (1)
StartupBase.cs (1)
87var pendingProviders = new Stack<IFileProvider>();
illink (6)
ILLink.Tasks (1)
CreateRuntimeRootDescriptorFile.cs (1)
494 readonly Stack<bool?> activeSections = new Stack<bool?> ();
InMemory.FunctionalTests (2)
ResponseTests.cs (2)
3318var callOrder = new Stack<int>(); 3369var callOrder = new Stack<int>();
Microsoft.AspNetCore.App.Analyzers.Test (2)
RouteEmbeddedLanguage\Infrastructure\MarkupTestFile.cs (2)
65var spanStartStack = new Stack<(int matchIndex, string name)>(); 66var namedSpanStartStack = new Stack<(int matchIndex, string name)>();
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
UserJwtsTestFixture.cs (1)
11private readonly Stack<Action> _disposables = new();
Microsoft.AspNetCore.Components (2)
Rendering\RenderTreeBuilder.cs (1)
26private readonly Stack<int> _openElementIndices = new Stack<int>();
src\Http\Routing\src\Tree\TreeEnumerator.cs (1)
18_stack = new Stack<UrlMatchingNode>();
Microsoft.AspNetCore.Components.Endpoints (2)
FormMapping\Converters\CollectionAdapters\StackBufferAdapter.cs (1)
8public static Stack<TElement> CreateBuffer() => new();
Rendering\EndpointHtmlRenderer.EventDispatch.cs (1)
190Stack<string> stack = new();
Microsoft.AspNetCore.Components.Server (2)
BlazorPack\SequenceOfT.cs (1)
25private readonly Stack<SequenceSegment> segmentPool = new Stack<SequenceSegment>();
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\Shared\RazorViews\BaseView.cs (1)
23private readonly Stack<TextWriter> _textWriterStack = new Stack<TextWriter>();
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (1)
src\Shared\RazorViews\BaseView.cs (1)
23private readonly Stack<TextWriter> _textWriterStack = new Stack<TextWriter>();
Microsoft.AspNetCore.Hosting (1)
src\Shared\RazorViews\BaseView.cs (1)
23private readonly Stack<TextWriter> _textWriterStack = new Stack<TextWriter>();
Microsoft.AspNetCore.Http.Extensions (1)
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.Routing (2)
Tree\LinkGenerationDecisionTree.cs (1)
229var branchStack = new Stack<string>();
Tree\TreeEnumerator.cs (1)
18_stack = new Stack<UrlMatchingNode>();
Microsoft.AspNetCore.Server.IIS (3)
Core\IISHttpContext.cs (2)
675_onStarting = new Stack<KeyValuePair<Func<object, Task>, object>>(); 687_onCompleted = new Stack<KeyValuePair<Func<object, Task>, object>>();
src\Shared\RazorViews\BaseView.cs (1)
23private readonly Stack<TextWriter> _textWriterStack = new Stack<TextWriter>();
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpProtocol.cs (2)
791_onStarting = new Stack<KeyValuePair<Func<object, Task>, object>>(); 800_onCompleted = new Stack<KeyValuePair<Func<object, Task>, object>>();
Internal\Infrastructure\KestrelConnection.cs (1)
84_onCompleted = new Stack<KeyValuePair<Func<object, Task>, object>>();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Shared\test\Shared.Tests\runtime\Http2\DynamicTableTest.cs (1)
106Stack<byte[]> insertedHeaders = new Stack<byte[]>();
Microsoft.AspNetCore.Shared.Tests (1)
runtime\Http2\DynamicTableTest.cs (1)
106Stack<byte[]> insertedHeaders = new Stack<byte[]>();
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
53private readonly Stack<LinkedBuffer> _pool = new();
Microsoft.AspNetCore.SignalR.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
53private readonly Stack<LinkedBuffer> _pool = new();
Microsoft.Build (7)
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\LazyItemEvaluator.cs (2)
320Stack<LazyItemList> itemListStack = new Stack<LazyItemList>(); 343globsToIgnoreStack ??= new Stack<ImmutableHashSet<string>>();
Evaluation\Preprocessor.cs (1)
42private readonly Stack<string> _filePaths = new Stack<string>();
Evaluation\Profiler\EvaluationProfiler.cs (1)
22private readonly Stack<EvaluationFrame> _evaluationStack = new Stack<EvaluationFrame>();
Logging\SerialConsoleLogger.cs (1)
920_frames = new Stack<Frame>();
Microsoft.Build.Tasks.Core (1)
ParserState.cs (1)
22private readonly Stack<string> _namespaceStack = new Stack<string>();
Microsoft.Cci.Extensions (1)
Traversers\DependencyTraverser.cs (1)
24_definitionStack = new Stack<IDefinition>();
Microsoft.CodeAnalysis (9)
Collections\KeyedStack.cs (1)
25store = new Stack<R>();
Collections\Rope.cs (3)
130var stack = new Stack<Rope>(); 159var stack = new Stack<Rope>(); 185var 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)
260var stack = new Stack<KeyValuePair<TreeDumperNode?, TreeDumperNode>>();
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
37private static readonly ObjectPool<Stack<TNode>> s_nodeStackPool = new(() => new(), 128, trimOnFree: false);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
44var stack = new Stack<INamedTypeSymbol>();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
852private static readonly ObjectPool<Stack<TDirectiveTriviaSyntax>> s_stackPool = new(() => new());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
332private readonly Stack<ISymbol?> _contextualSymbolStack = new();
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)
1232_temporaryStringBuilders = new Stack<TemporaryStringBuilder>();
Declarations\DeclarationTable.cs (2)
216var stack = new Stack<Declaration>(); 321var stack = new Stack<MergedNamespaceOrTypeDeclaration>();
Emitter\Model\PEModuleBuilder.cs (2)
340var 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)
961Stack = new Stack<CSharpSyntaxNode>();
DecompiledSource\CSharpDecompiledSourceService.cs (2)
109var containingTypeStack = new Stack<string>(); 110var containingNamespaceStack = new Stack<string>();
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
ObjectFormatterTests.cs (1)
571var obj = new Stack<int>();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\LookupPositionTests.cs (1)
3139Stack<string[]> stack = new Stack<string[]>();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\AnonymousTypesSemanticsTests.cs (1)
2053var stack = new Stack<SyntaxNode>();
Microsoft.CodeAnalysis.EditorFeatures (2)
InlineRename\AbstractInlineRenameUndoManager.cs (2)
34protected readonly Stack<ActiveSpanState> UndoStack = new Stack<ActiveSpanState>(); 35protected readonly Stack<ActiveSpanState> RedoStack = new Stack<ActiveSpanState>();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Extensions\CollectionExtensionsTest.cs (3)
19var stack = new Stack<int>(); 30var stack = new Stack<int>(); 38var stack = new Stack<int>();
Microsoft.CodeAnalysis.Features (5)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (2)
67private readonly Stack<(string target, string hint)> _navigationTargetStack = new(); 74private readonly Stack<TaggedTextStyle> _styleStack = new();
ExtractMethod\MethodExtractor.TriviaResult.cs (1)
136var stack = new Stack<SyntaxTrivia>();
Shared\Utilities\ExtractTypeHelpers.cs (1)
167var typesToVisit = new Stack<INamedTypeSymbol>();
ValueTracking\ValueTrackingProgressCollector.cs (1)
16private readonly Stack<ValueTrackedItem> _items = new();
Microsoft.CodeAnalysis.Test.Utilities (3)
Assert\AssertXml.cs (1)
154Stack<Tuple<XElement, XElement>> stack = new Stack<Tuple<XElement, XElement>>();
MarkedSource\MarkupTestFile.cs (2)
65var spanStartStack = new Stack<(int matchIndex, string name)>(); 66var namedSpanStartStack = new Stack<(int matchIndex, string name)>();
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 (9)
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\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
37private static readonly ObjectPool<Stack<TNode>> s_nodeStackPool = new(() => new(), 128, trimOnFree: false);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
44var stack = new Stack<INamedTypeSymbol>();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
852private static readonly ObjectPool<Stack<TDirectiveTriviaSyntax>> s_stackPool = new(() => new());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
332private readonly Stack<ISymbol?> _contextualSymbolStack = new();
Storage\SQLite\v2\SQLitePersistentStorage.cs (1)
39private readonly Stack<SqlConnection> _connectionsPool = new();
Storage\SQLite\v2\SQLitePersistentStorage_Helpers.cs (1)
89private static readonly Stack<byte[]> s_byteArrayPool = new();
Microsoft.DotNet.AsmDiff (4)
ApiRecordingCSharpDiffWriter.cs (2)
18private Stack<List<DiffApiDefinition>> _apiStack = new Stack<List<DiffApiDefinition>>(); 19private Stack<DiffApiDefinition> _apiDefinitionStack = new Stack<DiffApiDefinition>();
DiffEngine.cs (1)
204var startLineStack = new Stack<DiffLine>();
DiffRecorder.cs (1)
14private Stack<DiffStyle> _styleStack = new Stack<DiffStyle>();
Microsoft.DotNet.PackageTesting (2)
VerifyClosure.cs (2)
167var depStack = new Stack<AssemblyInfo>(); 258var depStack = new Stack<AssemblyInfo>();
Microsoft.DotNet.SharedFramework.Sdk (2)
src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (2)
167var depStack = new Stack<AssemblyInfo>(); 258var depStack = new Stack<AssemblyInfo>();
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (4)
Modeler\ServiceClientModelFactory.cs (4)
51_typeNameStack.Value = new Stack<string>(); 52_propertyNameStack.Value = new Stack<string>(); 53_parameterNameStack.Value = new Stack<string>(); 54_methodNameStack.Value = new Stack<string>();
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.FileSystemGlobbing (1)
Internal\PatternContexts\PatternContext.cs (1)
12private readonly Stack<TFrame> _stack = new();
Microsoft.Extensions.SecretManager.Tools.Tests (1)
UserSecretsTestFixture.cs (1)
13private Stack<Action> _disposables = new Stack<Action>();
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.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.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.TorchSharp (1)
AutoFormerV2\ObjectDetectionMetrics.cs (1)
260Stack<Tuple<float, float>> prStack = new(); // precision and recall * groundTruthBoxesNum (= true positive)
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\Legacy\AbstractLegacyProject_IProjectSiteEx.cs (1)
18private readonly Stack<ProjectSystemProject.BatchScope> _batchScopes = new();
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\MarkupExtensionParser.cs (1)
935Stack<char> bracketCharacterStack = new Stack<char>();
PresentationCore (3)
MS\Internal\UIElementHelper.cs (1)
144Stack<DependencyObject> branchNodeStack = new Stack<DependencyObject>();
System\Windows\Media\Generated\RenderData.cs (1)
558Stack<PushType> pushStack = new Stack<PushType>();
System\Windows\Media3D\Viewport2DVisual3D.cs (1)
479Stack<Material> materialStack = new Stack<Material>();
PresentationFramework (17)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
1322private Stack<bool> _calledProcessAnnotations = new Stack<bool>();
MS\Internal\Globalization\BamlResourceDeserializer.cs (2)
368stackForProperty = new Stack<ILocalizabilityInheritable>(); 403private Stack<BamlTreeNode> _bamlTreeStack = new Stack<BamlTreeNode>();
MS\Internal\Globalization\BamlResourceSerializer.cs (1)
64_bamlTreeStack = new Stack<BamlTreeNode>();
MS\Internal\PtsHost\StructuralCache.cs (2)
788private Stack<DocumentFormatInfo> _documentFormatInfoStack = new Stack<DocumentFormatInfo>(); 865private Stack<DocumentArrangeInfo> _documentArrangeInfoStack = new Stack<DocumentArrangeInfo>();
System\Windows\Application.cs (1)
559s_NestedBamlLoadInfo = new Stack<NestedBamlLoadInfo>();
System\Windows\Controls\InkCanvas.cs (1)
290Stack<Transform> transforms = new Stack<Transform>();
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (1)
350_lookupResultStack = new Stack<LookupResult>();
System\Windows\Documents\TextStore.cs (1)
4893private Stack<IMECompositionTraceOp> _opStack = new Stack<IMECompositionTraceOp>();
System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
227static private Stack<Hashtable> _validResources = new Stack<Hashtable>();
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
37private Stack<XamlWriter> _xamlWriterStack = new Stack<XamlWriter>();
System\Windows\Markup\BamlReader.cs (4)
185_nodeStack = new Stack<BamlNodeInfo>(); 1450Stack<bool> readProperty = new(); 1451Stack<bool> readConstructor = new(); 1452Stack<bool> readFirstConstructor = new();
System\Windows\Markup\MarkupExtensionParser.cs (1)
935Stack<char> bracketCharacterStack = new Stack<char>();
ReachFramework (2)
Serialization\Manager\ReachVisualSerializer.cs (1)
110Stack<NodeContext> contextStack = new Stack<NodeContext>();
Serialization\Manager\ReachVisualSerializerAsync.cs (1)
137Stack<NodeContext> contextStack = new Stack<NodeContext>();
Stress.ApiService (1)
TraceCreator.cs (1)
35var activityStack = new Stack<Activity>();
System.CodeDom (1)
src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
175var subTypeNames = new Stack<string>();
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\CompositionException.cs (1)
268context.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)
572_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)
260_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)
161Stack<NextInfo> readStack = new();
System.Formats.Tar (2)
System\Formats\Tar\TarFile.cs (2)
461var directoryModificationTimes = new Stack<(string, DateTimeOffset)>(); 503var 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\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
175var subTypeNames = new Stack<string>();
System\Runtime\Serialization\CodeGenerator.cs (1)
145_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)
2854private readonly Stack<QilIterator> _vars = new Stack<QilIterator>();
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1245_newTemplates = new Stack<Template>();
System\Xml\Xsl\XsltOld\Compiler.cs (1)
647_stylesheets ??= new Stack<Stylesheet>();
System.Text.Json (1)
System\Text\Json\Serialization\IgnoreReferenceResolver.cs (1)
27_stackForCycleDetection ??= new Stack<ReferenceEqualsWrapper>();
System.Text.RegularExpressions (6)
System\Text\RegularExpressions\RegexCompiler.cs (1)
349_int32LocalsPool ??= new Stack<LocalBuilder>(),
System\Text\RegularExpressions\RegexNode.cs (1)
205var 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.Generator (2)
RegexGenerator.Emitter.cs (1)
46var parentClasses = new Stack<string>();
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (1)
205var toExamine = new Stack<RegexNode>();
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipService.cs (1)
1758private 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)
1335_mergeHistoryStack ??= new Stack<MergeHistory>();
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
766Stack<ToolStripDropDownItem> itemsStack = new();
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
1304Stack<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)
258_stack = new Stack<TypeNameFrame>();
System\Xaml\Parser\MeScanner.cs (1)
609BracketCharacterStack = new Stack<char>();
System\Xaml\Parser\XamlScannerStack.cs (1)
34_stack = new Stack<XamlScannerFrame>();
System\Xaml\XamlMarkupExtensionWriter.cs (1)
40nodes = new Stack<Node>();
System\Xaml\XamlObjectReader.cs (2)
54nodes = new Stack<MarkupInfo>(); 78Stack<HashSet<string>> namesInCurrentScope = new Stack<HashSet<string>>();
System\Xaml\XamlXmlWriter.cs (2)
107namespaceScopes = new Stack<Frame>(); 111meNodesStack = new Stack<List<XamlNode>>();
xunit.console (1)
CommandLine.cs (1)
13readonly Stack<string> arguments = new Stack<string>();