9 references to WhenAny
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
278var resultTask = await Task.WhenAny(successfulStartupTask, AppExited.Task, startupTimeoutTask).ConfigureAwait(false);
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
278var resultTask = await Task.WhenAny(successfulStartupTask, AppExited.Task, startupTimeoutTask).ConfigureAwait(false);
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\TaskHelpers.cs (1)
168var completedTask = await Task.WhenAny(task, Task.Delay(timeout, cts.Token));
Shared\Utilities\AsyncHelper.cs (1)
27await Task.WhenAny(actionTask, taskCompletionSrc.Task);
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
299await Task.WhenAny(responseTask, monitorTask).ConfigureAwait(false);
Microsoft.CodeAnalysis.EditorFeatures (1)
GoOrFind\AbstractGoOrFindNavigationService.cs (1)
170var firstFinishedTask = await Task.WhenAny(delayBeforeShowingResultsWindowTask, findTask).ConfigureAwait(false);
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.StampedeStateT.cs (1)
100Task first = await System.Threading.Tasks.Task.WhenAny(stampede.Task, cancelStub.Task).ConfigureAwait(false);
Microsoft.VisualStudio.LanguageServices (1)
NavigateTo\RoslynSearchItemsSource.cs (1)
56await Task.WhenAny(cancellationTriggeredTask, searchTask).ConfigureAwait(false);
VBCSCompiler (1)
src\Compilers\Server\VBCSCompiler\NamedPipeClientConnectionHost.cs (1)
199var completedTask = await Task.WhenAny(new[] { connectTask, cancelTask }).ConfigureAwait(false);