91 references to WhenAll
GenerateDocumentationAndConfigFiles (1)
src\Dependencies\Threading\ProducerConsumer.cs (1)
344await Task.WhenAll(writeTask, readTask).ConfigureAwait(false);
InMemory.FunctionalTests (1)
RequestTests.cs (1)
266await Task.WhenAll(pathTcs.Task, rawTargetTcs.Task, queryTcs.Task).DefaultTimeout();
InProcessWebSite (2)
Startup.cs (2)
554await Task.WhenAll(t1, t2); 753await Task.WhenAll(t1, t2);
JwtClientSample (1)
Program.cs (1)
16await Task.WhenAll(
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.PrerenderingState.cs (1)
100await Task.WhenAll(
Microsoft.AspNetCore.Components.Server.Tests (5)
Circuits\CircuitRegistryTest.cs (5)
259await Task.WhenAll(disconnect, connect); 317await Task.WhenAll(disconnect, connect); 370await Task.WhenAll(disconnect, connect); 398await Task.WhenAll(connect, disconnect); 534await Task.WhenAll(pauseTask, connectTask);
Microsoft.AspNetCore.Components.Tests (1)
RendererTest.cs (1)
348await Task.WhenAll(renderTask1, renderTask2);
Microsoft.AspNetCore.Components.WebView.WindowsForms (2)
WindowsFormsDispatcher.cs (2)
96 await Task.WhenAll(tcs.Task, Task.Factory.FromAsync(asyncResult, _dispatchThreadControl.EndInvoke)); 164 await Task.WhenAll(tcs.Task, Task.Factory.FromAsync(asyncResult, _dispatchThreadControl.EndInvoke));
Microsoft.AspNetCore.Http.Connections.Tests (2)
HttpConnectionDispatcherTests.cs (1)
642await Task.WhenAll(executeTask1, executeTask2);
HttpConnectionManagerTests.cs (1)
302await Task.WhenAll(firstTask, secondTask).DefaultTimeout();
Microsoft.AspNetCore.Mvc.TagHelpers.Test (5)
CacheTagHelperTest.cs (3)
606await Task.WhenAll(task1, task2); 689await Task.WhenAll(task1, task2); 923await Task.WhenAll(task1, task2);
DistributedCacheTagHelperTest.cs (2)
609await Task.WhenAll(task1, task2); 701await Task.WhenAll(task1, task2);
Microsoft.AspNetCore.OutputCaching.Tests (6)
CachedResponseBodyTests.cs (3)
38await Task.WhenAll(receiverTask, copyTask); 62await Task.WhenAll(receiverTask, copyTask); 87await Task.WhenAll(receiverTask, copyTask);
OutputCacheMiddlewareTests.cs (3)
848await Task.WhenAll(task1, task2); 906await Task.WhenAll(task1, task2); 958await Task.WhenAll(task1, task2);
Microsoft.AspNetCore.ResponseCaching.Tests (3)
CachedResponseBodyTests.cs (3)
46await Task.WhenAll(receiverTask, copyTask); 68await Task.WhenAll(receiverTask, copyTask); 92await Task.WhenAll(receiverTask, copyTask);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (5)
ServerTests.cs (5)
442await Task.WhenAll(stopTask1, stopTask2, stopTask3).TimeoutAfter(TimeSpan.FromSeconds(10)); 476await Task.WhenAll(stopTask1, stopTask2, stopTask3).TimeoutAfter(TimeSpan.FromSeconds(10)); 513await Task.WhenAll(stopTask1, stopTask2, stopTask3).TimeoutAfter(TimeSpan.FromSeconds(10)); 550await Task.WhenAll(stopTask1, stopTask2, stopTask3).TimeoutAfter(TimeSpan.FromSeconds(10)); 585await Task.WhenAll(stopTask1, stopTask2).TimeoutAfter(TimeSpan.FromSeconds(10));
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
RedisHubLifetimeManager.cs (1)
109await Task.WhenAll(connectionTask, userTask);
Microsoft.AspNetCore.SignalR.Tests (28)
HubConnectionHandlerTests.cs (28)
1381await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1399await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout(); 1419await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1438await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout(); 1457await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1479await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout(); 1498await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1517await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout(); 1563await Task.WhenAll(firstClient.Connected, secondClient.Connected, thirdClient.Connected).DefaultTimeout(); 1588await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask, thirdConnectionHandlerTask).DefaultTimeout(); 1609await Task.WhenAll(firstClient.Connected, secondClient.Connected, thirdClient.Connected).DefaultTimeout(); 1636await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask, thirdConnectionHandlerTask).DefaultTimeout(); 1657await Task.WhenAll(firstClient.Connected, secondClient.Connected, thirdClient.Connected).DefaultTimeout(); 1681await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask, thirdConnectionHandlerTask).DefaultTimeout(); 1700await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1725await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout(); 1744await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1778await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout(); 1797await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1829await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout(); 1848await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1872await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout(); 1914await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1929await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout(); 1948await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1963await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout(); 1981await Task.WhenAll(firstClient.Connected, secondClient.Connected).DefaultTimeout(); 1996await Task.WhenAll(firstConnectionHandlerTask, secondConnectionHandlerTask).DefaultTimeout();
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
263await Task.WhenAll(
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\GetSemanticInfoTests.cs (1)
2297await Task.WhenAll(task1, task2);
Microsoft.CodeAnalysis.Features (3)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingIncrementalAnalyzerProcessor.cs (1)
103return Task.WhenAll(
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingSemanticChangeProcessor.cs (1)
72=> Task.WhenAll(base.AsyncProcessorTask, _processor.AsyncProcessorTask);
NavigateTo\AbstractNavigateToSearchService.NormalSearch.cs (1)
67await Task.WhenAll(
Microsoft.CodeAnalysis.LanguageServer (1)
BrokeredServices\BrokeredServiceBridgeProvider.cs (1)
50await Task.WhenAll(ProfferServicesToRemoteAsync(), ConsumeServicesFromRemoteAsync());
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Utilities\BrokeredServiceProxy.cs (1)
29_createConnectionTask = Task.WhenAll(CreateServerAsync(), CreateClientAsync());
Microsoft.CodeAnalysis.Threading.Package (1)
ProducerConsumer.cs (1)
344await Task.WhenAll(writeTask, readTask).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Threading\ProducerConsumer.cs (1)
344await Task.WhenAll(writeTask, readTask).ConfigureAwait(false);
Microsoft.Extensions.Caching.StackExchangeRedis (1)
RedisCache.cs (1)
235await Task.WhenAll(
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (4)
5941return WhenAll((ReadOnlySpan<Task>)taskArray); 5946return WhenAll(CollectionsMarshal.AsSpan(taskList)); 5962Task t = WhenAll(builder.AsSpan()); 6002return WhenAll((ReadOnlySpan<Task>)tasks);
System.Windows.Forms.Tests (1)
System\Windows\Forms\FormTests.cs (1)
2672await Task.WhenAll(frmTask, closerTask)
Templates.Blazor.Tests (10)
BlazorTemplateTest.cs (10)
129await Task.WhenAll( 162await Task.WhenAll( 166await Task.WhenAll( 180await Task.WhenAll( 185await Task.WhenAll( 191await Task.WhenAll( 207await Task.WhenAll( 214await Task.WhenAll( 250await Task.WhenAll( 259await Task.WhenAll(
Test.Utilities (1)
src\Dependencies\Threading\ProducerConsumer.cs (1)
344await Task.WhenAll(writeTask, readTask).ConfigureAwait(false);
WebSocketSample (1)
Program.cs (1)
46await Task.WhenAll(sending, receiving);