11 references to Stack
PresentationBuildTasks (2)
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);
PresentationFramework (7)
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\Markup\ParserContext.cs (2)
356_nameScopeStack = new Stack(2); 481_langSpaceStack = new Stack(1);
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.
System.Collections.NonGeneric (2)
System\Collections\Stack.cs (2)
55public Stack(ICollection col) : this(col?.Count ?? throw new ArgumentNullException(nameof(col))) 87Stack s = new Stack(_size);