45 references to Stack
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InternalBufferManager.cs (1)
464
_items = new
Stack
<byte[]>(limit);
illink (5)
Linker.Dataflow\MethodBodyScanner.cs (5)
116
Stack<StackSlot> newStack = new
Stack
<StackSlot> (a.Count);
284
Stack<StackSlot>? currentStack = new
Stack
<StackSlot> (methodBody.MaxStackSize);
302
currentStack ??= new
Stack
<StackSlot> (methodBody.MaxStackSize);
637
NewKnownStack (knownStacks, ((Instruction) operation.Operand).Offset, new
Stack
<StackSlot> (methodBody.MaxStackSize));
706
Stack<StackSlot> catchStack = new
Stack
<StackSlot> (1);
Microsoft.Build (3)
BackEnd\Components\Scheduler\SchedulableRequest.cs (1)
525
Stack<SchedulableRequest> requestsToEvaluate = new
Stack
<SchedulableRequest>(16);
BackEnd\Components\Scheduler\Scheduler.cs (1)
1686
Stack<BuildRequest> requestsToAdd = new
Stack
<BuildRequest>(blocker.BuildRequests.Length);
Evaluation\Expander.cs (1)
2138
Stack<TransformFunction<S>> transformFunctionStack = new
Stack
<TransformFunction<S>>(match.Captures.Count);
Microsoft.CodeAnalysis (6)
CodeGen\LocalScopeManager.cs (1)
31
_scopes = new
Stack
<ScopeInfo>(1);
Collections\SmallDictionary.cs (3)
534
_stack = new
Stack
<AvlNode>(dict.HeightApprox());
652
_stack = new
Stack
<AvlNode>(dict.HeightApprox());
758
_stack = new
Stack
<AvlNode>(dict.HeightApprox());
Syntax\SyntaxDiffer.cs (2)
19
private readonly Stack<SyntaxNodeOrToken> _oldNodes = new
Stack
<SyntaxNodeOrToken>(InitialStackSize);
20
private readonly Stack<SyntaxNodeOrToken> _newNodes = new
Stack
<SyntaxNodeOrToken>(InitialStackSize);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\ParsingTests.cs (1)
262
var stack = new
Stack
<ChildSyntaxList.Enumerator>(24);
Microsoft.DotNet.VersionTools (1)
BuildManifest\VersionIdentifier.cs (1)
96
Stack<(int versionNumber, int index)> majorMinorPatchStack = new
Stack
<(int,int)>(3);
Microsoft.Extensions.Identity.Core (1)
TokenProviderDescriptor.cs (1)
16
private readonly Stack<Type> _providerTypes =
new
(1);
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\StyleModeStack.cs (1)
72
private Stack<StyleMode> _stack = new
Stack
<StyleMode>(64);
PresentationCore (7)
MS\Internal\TextFormatting\TextStore.cs (1)
2703
Stack<TextModifier> directionalEmbeddingStack = new
Stack
<TextModifier>(32);
System\Windows\EventRoute.cs (1)
312
(_branchNodeStack ??= new
Stack
<BranchNode>(1)).Push(branchNode);
System\Windows\Media\BoundsDrawingContextWalker.cs (3)
358
_clipStack = new
Stack
<Rect>(2);
412
_transformStack = new
Stack
<Matrix>(2);
627
_pushTypeStack = new
Stack
<PushType>(2);
System\Windows\Media\DrawingDrawingContext.cs (1)
1359
_previousDrawingGroupStack = new
Stack
<DrawingGroup>(2);
System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
330
_pointStack = new
Stack
<Point>(2);
PresentationFramework (5)
MS\Internal\Ink\EditingCoordinator.cs (1)
58
_activationStack = new
Stack
<EditingBehavior>(2);
System\Windows\Documents\TextRangeBase.cs (2)
804
listItemCounter = new
Stack
<int>(1);
835
listItemCounter = new
Stack
<int>(1);
System\Windows\Markup\StyleModeStack.cs (1)
72
private Stack<StyleMode> _stack = new
Stack
<StyleMode>(64);
System\Windows\TreeChangeInfo.cs (1)
210
_inheritablePropertiesStack = new
Stack
<FrugalObjectList<DependencyProperty>>(1);
System.Collections (4)
System\Collections\Generic\SortedSet.cs (3)
194
var stack = new
Stack
<Node>(2 * (int)Log2(Count + 1));
1635
var pendingNodes = new
Stack
<(Node source, Node target)>(2 * Log2(count) + 2);
1854
_stack = new
Stack
<Node>(2 * (int)Log2(set.TotalCount() + 1));
System\Collections\Generic\SortedSet.TreeSubSet.cs (1)
196
Stack<Node> stack = new
Stack
<Node>(2 * (int)SortedSet<T>.Log2(count + 1)); // this is not exactly right if count is out of date, but the stack can grow
System.Collections.Immutable (5)
System\Collections\Immutable\AllocFreeConcurrentStack.cs (1)
24
t_stack ??= new
Stack
<RefAsValueType<T>>(MaxSize);
System\Collections\Immutable\ImmutableList_1.Enumerator.cs (1)
109
_stack = SecureObjectPool<Stack<RefAsValueType<Node>>, Enumerator>.PrepNew(this, new
Stack
<RefAsValueType<Node>>(root.Height));
System\Collections\Immutable\ImmutableSortedDictionary_2.Enumerator.cs (1)
78
_stack = SecureObjectPool<Stack<RefAsValueType<Node>>, Enumerator>.PrepNew(this, new
Stack
<RefAsValueType<Node>>(root.Height));
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (1)
90
_stack = SecureObjectPool<Stack<RefAsValueType<Node>>, Enumerator>.PrepNew(this, new
Stack
<RefAsValueType<Node>>(root.Height));
System\Collections\Immutable\SortedInt32KeyNode.Enumerator.cs (1)
64
_stack = SecureObjectPool<Stack<RefAsValueType<SortedInt32KeyNode<TValue>>>, Enumerator>.PrepNew(this, new
Stack
<RefAsValueType<SortedInt32KeyNode<TValue>>>(root.Height));
System.Data.Common (2)
System\Data\XmlDataLoader.cs (2)
49
_childRowsStack = new
Stack
<DataRow>(50);
77
_childRowsStack = new
Stack
<DataRow>(50);
System.Private.Xml (2)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (1)
1542
_stkNames ??= new
Stack
<string>(15);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
146
_stkOutput = new
Stack
<XmlQueryOutput>(16);
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexCompiler.cs (1)
358
_readOnlySpanCharLocalsPool ??= new
Stack
<LocalBuilder>(1), // capacity == 1 as we currently don't expect overlapping instances