49 references to TryPop
GenerateDocumentationAndConfigFiles (5)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
91while (candidates.TryPop(out var currentNode))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
920while (ifStack.TryPop(out var poppedDirective))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (1)
32while (stack.TryPop(out var current))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (1)
113while (spineNodes.TryPop(out currentNode))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
50while (stack.TryPop(out var tuple))
ILCompiler.Compiler (4)
Compiler\SubstitutedILProvider.cs (4)
164while (offsetsToVisit.TryPop(out int offset)) 258while (offsetsToVisit.TryPop(out int offset)) 719if (!stack.TryPop(out int? val) || !val.HasValue) 747if (!stack.TryPop(out _))
illink (5)
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\HttpProtocol.cs (2)
844while (events.TryPop(out var entry)) 870while (events.TryPop(out var entry))
Internal\Infrastructure\KestrelConnection.cs (2)
109while (onCompleted.TryPop(out var entry)) 139while (onCompleted.TryPop(out var entry))
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\aspnetcore\src\Servers\Kestrel\shared\ConnectionCompletion.cs (2)
24while (onCompleted.TryPop(out var entry)) 54while (onCompleted.TryPop(out var entry))
Microsoft.CodeAnalysis.CSharp.Features (2)
Highlighting\KeywordHighlighters\AsyncAwaitHighlighter.cs (1)
51while (stack.TryPop(out var current))
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer.cs (1)
68while (stack.TryPop(out var current))
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
407while (stack.TryPop(out var expression))
Microsoft.CodeAnalysis.Features (4)
BracePairs\IBracePairsService.cs (1)
56while (stack.TryPop(out var current))
EmbeddedLanguages\Classification\AbstractEmbeddedLanguageClassificationService.cs (1)
89while (stack.TryPop(out var currentNodeOrToken))
Wrapping\BinaryExpression\AbstractBinaryExpressionWrapper.cs (1)
111while (stack.TryPop(out var currentNodeOrToken))
Wrapping\ChainedExpression\AbstractChainedExpressionWrapper.cs (1)
279while (stack.TryPop(out var nodeOrToken))
Microsoft.CodeAnalysis.Workspaces (9)
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (1)
100while (_pendingNodes.TryPop(out var nodeOrToken))
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (2)
244while (stack.TryPop(out var topEnumerator)) 261while (stack.TryPop(out var topEnumerator))
FindSymbols\FindReferences\FindReferenceCache.cs (1)
162while (stack.TryPop(out var current))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
91while (candidates.TryPop(out var currentNode))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
920while (ifStack.TryPop(out var poppedDirective))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (1)
32while (stack.TryPop(out var current))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (1)
113while (spineNodes.TryPop(out currentNode))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
50while (stack.TryPop(out var tuple))
Microsoft.Extensions.AI.Evaluation.Console (1)
Utilities\ExceptionUtilities.cs (1)
27while (toCheck.TryPop(out Exception? current))
System.Collections (1)
System\Collections\Generic\SortedSet.cs (1)
1635while (pendingNodes.TryPop(out var next))
System.Console (1)
System\IO\StdInReader.cs (1)
205removed = _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)
399while (directoryModificationTimes.TryPop(out (string Path, DateTimeOffset Modified) item)) 417directoryModificationTimes.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)
354_int32LocalsPool.TryPop(out LocalBuilder? iterationLocal) ? iterationLocal : DeclareInt32()); 363_readOnlySpanCharLocalsPool.TryPop(out LocalBuilder? iterationLocal) ? iterationLocal : DeclareReadOnlySpanChar());
System\Text\RegularExpressions\Symbolic\MintermGenerator.cs (1)
94while (stack.TryPop(out PartitionTree? node))
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
42while (stack.TryPop(out (RegexNode Node, DoublyLinkedList<SymbolicRegexNode<BDD>> Result, DoublyLinkedList<SymbolicRegexNode<BDD>>[]? ChildResults) popped))