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)
508_codeContexts = new Stack();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserContext.cs (1)
481_langSpaceStack = new Stack(1);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1864private Stack _elementTypeStack = new Stack(5);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
131_textFlowStack = new Stack();
PresentationCore (2)
System\Windows\Input\InputManager.cs (1)
147_stagingArea = new Stack();
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
445_modifierStack = new Stack();
PresentationFramework (10)
MS\Internal\Documents\ParentUndoUnit.cs (1)
475_units = new Stack(2);
MS\Internal\Documents\UndoManager.cs (2)
68_redoStack = new Stack(2); 652value = new Stack(2);
MS\Internal\IO\Packaging\XamlFilter.cs (1)
104_contextStack = new Stack(32);
System\Windows\Documents\FixedTextBuilder.cs (2)
1371_endNodes = new Stack(); 1372_fixedElements = new Stack();
System\Windows\Markup\ParserContext.cs (3)
356_nameScopeStack = new Stack(2); 481_langSpaceStack = new Stack(1); 765_freezeStack = new Stack();
System\Windows\Style.cs (1)
568Stack 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)
28private Stack _pushedStack = new Stack();
AlphaFlattener\MetroDevice.cs (1)
115_stack = new Stack();
Serialization\DrawingContextFlattener.cs (1)
877private Stack _push = new Stack();
Serialization\Manager\NGCSerializationManagerAsync.cs (1)
43_operationStack = new Stack();
Serialization\Manager\ReachObjectContext.cs (1)
26_recycableSerializableObjectContexts = new Stack();
Serialization\Manager\XpsOMSerializationManagerAsync.cs (1)
29_operationStack = new Stack();
Serialization\Manager\XpsSerializationManagerAsync.cs (1)
40_operationStack = new Stack();
Serialization\VisualSerializer.cs (1)
69_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)
163_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)
3559private Stack _codeContexts = null;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserContext.cs (2)
818private Stack _langSpaceStack; 949private Stack _freezeStack = null;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1864private Stack _elementTypeStack = new Stack(5);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
6761private Stack TextFlowStack 6830private Stack _textFlowStack;
PresentationCore (2)
System\Windows\Input\InputManager.cs (1)
946private Stack _stagingArea;
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
459private Stack _modifierStack;
PresentationFramework (22)
MS\Internal\Documents\ParentUndoUnit.cs (2)
562protected Stack Units 630private Stack _units;
MS\Internal\Documents\UndoManager.cs (5)
646internal Stack SetRedoStack(Stack value) 648Stack previousValue = _redoStack; 1076protected Stack RedoStack 1165private Stack _redoStack; // stack of redo units
MS\Internal\IO\Packaging\XamlFilter.cs (1)
997private Stack _contextStack;
System\Windows\Documents\FixedTextBuilder.cs (2)
1784private Stack _endNodes; 1785private Stack _fixedElements;
System\Windows\Documents\TextStore.cs (3)
3532Stack imeChangeStack = undoManager.SetRedoStack(null); 3846private void SetFinalDocumentState(UndoManager undoManager, Stack imeChangeStack, int appChangeCount, 3874Stack appRedoStack = undoManager.SetRedoStack(imeChangeStack);
System\Windows\Markup\ParserContext.cs (8)
161_nameScopeStack = (Stack)parserContext._nameScopeStack.Clone(); 351internal Stack NameScopeStack 659context._nameScopeStack = (_nameScopeStack != null) ? (Stack)_nameScopeStack.Clone() : null; 664context._langSpaceStack = (_langSpaceStack != null) ? (Stack)_langSpaceStack.Clone() : null; 672context._freezeStack = (_freezeStack != null) ? (Stack) _freezeStack.Clone() : null; 818private Stack _langSpaceStack; 829private Stack _nameScopeStack; 949private Stack _freezeStack = null;
System\Windows\Style.cs (1)
568Stack 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)
28private Stack _pushedStack = new Stack();
AlphaFlattener\MetroDevice.cs (1)
46private Stack _stack;
Serialization\DrawingContextFlattener.cs (1)
877private Stack _push = new Stack();
Serialization\Manager\IXpsSerializationManagerAsync.cs (1)
10Stack
Serialization\Manager\NGCSerializationManagerAsync.cs (2)
863Stack 1032private Stack _operationStack;
Serialization\Manager\ReachObjectContext.cs (1)
372Stack _recycableSerializableObjectContexts;
Serialization\Manager\XpsOMSerializationManagerAsync.cs (3)
360Stack 369Stack 495private Stack _operationStack;
Serialization\Manager\XpsSerializationManagerAsync.cs (2)
432Stack 546Stack _operationStack;
Serialization\VisualSerializer.cs (1)
850protected 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)
521private static Stack _threadStack;