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