38 references to TryPop
Identity.DefaultUI.WebSite (1)
StartupBase.cs (1)
90
while (pendingProviders.
TryPop
(out var currentProvider))
illink (5)
Linker.Steps\UnreachableBlocksOptimizer.cs (5)
1817
if (!callStack.
TryPop
(out _))
1857
if (stack_instr == null || !stack_instr.
TryPop
(out Instruction? instr))
1974
if (!stack_instr.
TryPop
(out instr)) {
1990
if (!stack_instr.
TryPop
(out instr)) {
2005
if (!stack_instr.
TryPop
(out instr)) {
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\ConnectionCompletion.cs (2)
24
while (onCompleted.
TryPop
(out var entry))
54
while (onCompleted.
TryPop
(out var entry))
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\HttpProtocol.cs (2)
827
while (events.
TryPop
(out var entry))
853
while (events.
TryPop
(out var entry))
Internal\Infrastructure\KestrelConnection.cs (2)
109
while (onCompleted.
TryPop
(out var entry))
139
while (onCompleted.
TryPop
(out var entry))
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
src\Servers\Kestrel\shared\ConnectionCompletion.cs (2)
24
while (onCompleted.
TryPop
(out var entry))
54
while (onCompleted.
TryPop
(out var entry))
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\Servers\Kestrel\shared\ConnectionCompletion.cs (2)
24
while (onCompleted.
TryPop
(out var entry))
54
while (onCompleted.
TryPop
(out var entry))
Microsoft.CodeAnalysis.Workspaces (9)
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (1)
100
while (_pendingNodes.
TryPop
(out var nodeOrToken))
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (2)
244
while (stack.
TryPop
(out var topEnumerator))
261
while (stack.
TryPop
(out var topEnumerator))
FindSymbols\FindReferences\FindReferenceCache.cs (1)
161
while (stack.
TryPop
(out var current))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
90
while (candidates.
TryPop
(out var currentNode))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
919
while (ifStack.
TryPop
(out var poppedDirective))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (1)
32
while (stack.
TryPop
(out var current))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (1)
117
while (spineNodes.
TryPop
(out currentNode))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
50
while (stack.
TryPop
(out var tuple))
Microsoft.Extensions.AI.Evaluation.Console (1)
Utilities\ExceptionUtilities.cs (1)
27
while (toCheck.
TryPop
(out Exception? current))
System.Collections (1)
System\Collections\Generic\SortedSet.cs (1)
1638
while (pendingNodes.
TryPop
(out var next))
System.Console (1)
System\IO\StdInReader.cs (1)
205
removed = _tmpKeys.
TryPop
(out _);
System.Formats.Cbor (3)
System\Formats\Cbor\Reader\CborReader.Map.cs (1)
179
_pooledKeyEncodingRangeAllocations.
TryPop
(out HashSet<(int Offset, int Length)>? result))
System\Formats\Cbor\Writer\CborWriter.Map.cs (2)
192
_pooledKeyEncodingRangeSets.
TryPop
(out HashSet<(int Offset, int Length)>? result))
221
_pooledKeyValuePairEncodingRangeLists.
TryPop
(out List<KeyValuePairEncodingRange>? result))
System.Formats.Tar (2)
System\Formats\Tar\TarHelpers.cs (2)
415
while (directoryModificationTimes.
TryPop
(out (string Path, DateTimeOffset Modified) item))
433
directoryModificationTimes.
TryPop
(out previous);
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\KeyedStack.cs (1)
27
_data.TryGetValue(key, out Stack<TValue>? stack) && stack.
TryPop
(out TValue? value) ? value : null;
System.Text.RegularExpressions (4)
System\Text\RegularExpressions\RegexCompiler.cs (2)
353
_int32LocalsPool.
TryPop
(out LocalBuilder? iterationLocal) ? iterationLocal : DeclareInt32());
362
_readOnlySpanCharLocalsPool.
TryPop
(out LocalBuilder? iterationLocal) ? iterationLocal : DeclareReadOnlySpanChar());
System\Text\RegularExpressions\Symbolic\MintermGenerator.cs (1)
94
while (stack.
TryPop
(out PartitionTree? node))
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
42
while (stack.
TryPop
(out (RegexNode Node, DoublyLinkedList<SymbolicRegexNode<BDD>> Result, DoublyLinkedList<SymbolicRegexNode<BDD>>[]? ChildResults) popped))