4 references to TryTake
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1656
while (_tasks.
TryTake
(out Task t, Timeout.Infinite))
Microsoft.DotNet.Cli.Utils (1)
BlockingMemoryStream.cs (1)
32
if (!_buffers.
TryTake
(out byte[]? tmp, Timeout.Infinite) || tmp.Length == 0)
ScenarioTests.Common.Tests (1)
ScenarioTestTypes.cs (1)
229
while (_queue.
TryTake
(out workItem, 5000))
UnitTests.Common (1)
TestTypes.cs (1)
306
while (_queue.
TryTake
(out workItem, 5000))