19 references to TryPop
Microsoft.Build (2)
Collections\ConcurrentStackExtensions.cs (1)
32ErrorUtilities.VerifyThrow(stack.TryPop(out T result), "Unable to pop from stack");
Evaluation\ConditionEvaluator.cs (1)
254if (!expressionPool.TryPop(out var parsedExpression))
Microsoft.CodeAnalysis.CSharp (2)
Compiler\ClsComplianceChecker.cs (1)
182while (tasks.TryPop(out Task curTask))
Compiler\MethodCompiler.cs (1)
337while (tasks.TryPop(out curTask))
Microsoft.CodeAnalysis.VisualBasic (2)
Compilation\ClsComplianceChecker.vb (1)
87While tasks.TryPop(curTask)
Compilation\MethodCompiler.vb (1)
345While tasks.TryPop(curTask)
System.Collections.Concurrent (3)
System\Collections\Concurrent\ConcurrentStack.cs (3)
493/// TryPopRange can be more efficient than using <see cref="TryPop"/> 528/// TryPopRange can be more efficient than using <see cref="TryPop"/> 671return TryPop(out item);
System.Data.Odbc (6)
Common\System\Data\ProviderBase\DbConnectionPool.cs (6)
298if (_stackOld.TryPop(out obj)) 327if (!_stackNew.TryPop(out obj)) 361while (_stackNew.TryPop(out obj)) 366while (_stackOld.TryPop(out obj)) 899if (!_stackNew.TryPop(out obj)) 901if (!_stackOld.TryPop(out obj))
System.Net.Http (4)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (4)
37while (_http11Connections.TryPop(out connection)) 115if (connection is not null || _http11Connections.TryPop(out connection)) 212while (_http11Connections.TryPop(out connection)) 441while (connections.TryPop(out HttpConnection? connection))