2 types derived from Stack
System.Collections.NonGeneric (1)
System\Collections\Stack.cs (1)
213private sealed class SyncStack : Stack
System.Diagnostics.TraceSource (1)
System\Diagnostics\CorrelationManager.cs (1)
51private sealed class AsyncLocalStackWrapper : Stack
37 instantiations of Stack
dotnet-svcutil-lib (8)
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReference.cs (1)
187Stack subTypeNames = new Stack();
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (1)
1161_stack = new Stack();
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (1)
17private Stack _complexTypeStack = new Stack();
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (1)
26private Stack _complexTypeStack = new Stack();
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
639private Stack _containerStack = new Stack();
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeGenerator.cs (3)
82_blockStack = new Stack(); 83_whileStack = new Stack(); 533private Stack _leaveLabels = new Stack();
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (1)
ObjectFormatterTests.cs (1)
62var obj = new Stack();
PresentationBuildTasks (4)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
509_codeContexts = new Stack();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserContext.cs (1)
482_langSpaceStack = new Stack(1);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1865Stack _elementTypeStack = new Stack(5);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
132_textFlowStack = new Stack();
PresentationCore (2)
System\Windows\Input\InputManager.cs (1)
148_stagingArea = new Stack();
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
446_modifierStack = new Stack();
PresentationFramework (10)
MS\Internal\Documents\ParentUndoUnit.cs (1)
488_units = new Stack(2);
MS\Internal\Documents\UndoManager.cs (2)
69_redoStack = new Stack(2); 653value = new Stack(2);
MS\Internal\IO\Packaging\XamlFilter.cs (1)
105_contextStack = new Stack(32);
System\Windows\Documents\FixedTextBuilder.cs (2)
1372_endNodes = new Stack(); 1373_fixedElements = new Stack();
System\Windows\Markup\ParserContext.cs (3)
357_nameScopeStack = new Stack(2); 482_langSpaceStack = new Stack(1); 766_freezeStack = new Stack();
System\Windows\Style.cs (1)
575Stack basedOnHierarchy = new Stack(10); // 10 because that's the default value (see MSDN) and the perf team wants us to specify something.
ReachFramework (8)
AlphaFlattener\DrawingContext.cs (1)
29private Stack _pushedStack = new Stack();
AlphaFlattener\MetroDevice.cs (1)
116_stack = new Stack();
Serialization\DrawingContextFlattener.cs (1)
878private Stack _push = new Stack();
Serialization\Manager\NGCSerializationManagerAsync.cs (1)
44_operationStack = new Stack();
Serialization\Manager\ReachObjectContext.cs (1)
27_recycableSerializableObjectContexts = new Stack();
Serialization\Manager\XpsOMSerializationManagerAsync.cs (1)
30_operationStack = new Stack();
Serialization\Manager\XpsSerializationManagerAsync.cs (1)
41_operationStack = new Stack();
Serialization\VisualSerializer.cs (1)
70_tcoStack = new Stack();
System.Collections.NonGeneric (1)
System\Collections\Stack.cs (1)
87Stack s = new Stack(_size);
System.Configuration.ConfigurationManager (2)
System\Configuration\BaseConfigurationRecord.cs (1)
248internal Stack SectionsStack => CurrentConfiguration == null ? new Stack() : CurrentConfiguration.SectionsStack;
System\Configuration\Configuration.cs (1)
155internal Stack SectionsStack => _sectionsStack ??= new Stack();
UIAutomationClient (1)
System\Windows\Automation\CacheRequest.cs (1)
164_threadStack = new Stack();
74 references to Stack
dotnet-svcutil-lib (8)
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReference.cs (1)
187Stack subTypeNames = new Stack();
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (1)
1124private Stack _stack; // parsing context
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (1)
17private Stack _complexTypeStack = new Stack();
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (1)
26private Stack _complexTypeStack = new Stack();
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
639private Stack _containerStack = new Stack();
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeGenerator.cs (3)
42private Stack _blockStack; 533private Stack _leaveLabels = new Stack(); 2345private Stack _whileStack;
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (1)
ObjectFormatterTests.cs (1)
62var obj = new Stack();
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
122[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Stack))]
netstandard (1)
netstandard.cs (1)
170[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Stack))]
PresentationBuildTasks (6)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
3562private Stack _codeContexts = null;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserContext.cs (2)
819private Stack _langSpaceStack; 951private Stack _freezeStack = null;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1865Stack _elementTypeStack = new Stack(5);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
6763Stack TextFlowStack 6832Stack _textFlowStack;
PresentationCore (2)
System\Windows\Input\InputManager.cs (1)
950private Stack _stagingArea;
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
460private Stack _modifierStack;
PresentationFramework (22)
MS\Internal\Documents\ParentUndoUnit.cs (2)
575protected Stack Units 643private Stack _units;
MS\Internal\Documents\UndoManager.cs (5)
647internal Stack SetRedoStack(Stack value) 649Stack previousValue = _redoStack; 1077protected Stack RedoStack 1166private Stack _redoStack; // stack of redo units
MS\Internal\IO\Packaging\XamlFilter.cs (1)
998private Stack _contextStack;
System\Windows\Documents\FixedTextBuilder.cs (2)
1785private Stack _endNodes; 1786private Stack _fixedElements;
System\Windows\Documents\TextStore.cs (3)
3542Stack imeChangeStack = undoManager.SetRedoStack(null); 3856private void SetFinalDocumentState(UndoManager undoManager, Stack imeChangeStack, int appChangeCount, 3884Stack appRedoStack = undoManager.SetRedoStack(imeChangeStack);
System\Windows\Markup\ParserContext.cs (8)
162_nameScopeStack = (Stack)parserContext._nameScopeStack.Clone(); 352internal Stack NameScopeStack 660context._nameScopeStack = (_nameScopeStack != null) ? (Stack)_nameScopeStack.Clone() : null; 665context._langSpaceStack = (_langSpaceStack != null) ? (Stack)_langSpaceStack.Clone() : null; 673context._freezeStack = (_freezeStack != null) ? (Stack) _freezeStack.Clone() : null; 819private Stack _langSpaceStack; 830private Stack _nameScopeStack; 951private Stack _freezeStack = null;
System\Windows\Style.cs (1)
575Stack basedOnHierarchy = new Stack(10); // 10 because that's the default value (see MSDN) and the perf team wants us to specify something.
ReachFramework (13)
AlphaFlattener\DrawingContext.cs (1)
29private Stack _pushedStack = new Stack();
AlphaFlattener\MetroDevice.cs (1)
47private Stack _stack;
Serialization\DrawingContextFlattener.cs (1)
878private Stack _push = new Stack();
Serialization\Manager\IXpsSerializationManagerAsync.cs (1)
11Stack
Serialization\Manager\NGCSerializationManagerAsync.cs (2)
864Stack 1033private Stack _operationStack;
Serialization\Manager\ReachObjectContext.cs (1)
372Stack _recycableSerializableObjectContexts;
Serialization\Manager\XpsOMSerializationManagerAsync.cs (3)
361Stack 370Stack 496Stack _operationStack;
Serialization\Manager\XpsSerializationManagerAsync.cs (2)
433Stack 547Stack _operationStack;
Serialization\VisualSerializer.cs (1)
851protected Stack _tcoStack; // Transform, Clip, Opacity stack
System.Collections.NonGeneric (11)
System\Collections\Stack.cs (11)
20[DebuggerTypeProxy(typeof(System.Collections.Stack.StackDebugView))] 87Stack s = new Stack(_size); 189public static Stack Synchronized(Stack stack) 215private readonly Stack _s; 218internal SyncStack(Stack stack) 260return new SyncStack((Stack)_s.Clone()); 323private readonly Stack _stack; 328internal StackEnumerator(Stack stack) 383private readonly Stack _stack; 385public StackDebugView(Stack stack)
System.Configuration.ConfigurationManager (3)
System\Configuration\BaseConfigurationRecord.cs (1)
248internal Stack SectionsStack => CurrentConfiguration == null ? new Stack() : CurrentConfiguration.SectionsStack;
System\Configuration\Configuration.cs (2)
25private Stack _sectionsStack; 155internal Stack SectionsStack => _sectionsStack ??= new Stack();
System.Diagnostics.TextWriterTraceListener (1)
System\Diagnostics\DelimitedListTraceListener.cs (1)
220private void WriteStackEscaped(Stack stack)
System.Diagnostics.TraceSource (3)
System\Diagnostics\CorrelationManager.cs (1)
22public Stack LogicalOperationStack => _stackWrapper;
System\Diagnostics\TraceEventCache.cs (1)
56public Stack LogicalOperationStack
System\Diagnostics\TraceListener.cs (1)
400Stack operationStack = eventCache.LogicalOperationStack;
System.Text.Json.SourceGeneration (1)
Helpers\KnownTypeSymbols.cs (1)
73public INamedTypeSymbol? StackType => GetOrResolveType(typeof(Stack), ref _StackType);
UIAutomationClient (1)
System\Windows\Automation\CacheRequest.cs (1)
522private static Stack _threadStack;