9 references to Run
IdeCoreBenchmarks (1)
NavigateToBenchmarks.cs (1)
217g => Task.Run(() => SearchAsync(solution, g, priorityDocuments: ImmutableArray<Document>.Empty), CancellationToken.None)).ToArray();
Microsoft.CodeAnalysis.LanguageServer (1)
Testing\TestRunner.DebugTestHostLauncher.cs (1)
52var task = Task.Run(async () => await AttachDebuggerAsync(processId, cancellationToken), cancellationToken);
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Host\RemoteWorkspace.InFlightSolution.cs (2)
70_disconnectedSolutionTask = Task.Run(() => computeDisconnectedSolutionAsync(cancellationToken), cancellationToken); 123_primaryBranchTask = Task.Run(() => ComputePrimaryBranchAsync(cancellationToken), cancellationToken);
Microsoft.Extensions.Diagnostics.HealthChecks (1)
DefaultHealthCheckService.cs (1)
56tasks[index++] = Task.Run(() => RunCheckAsync(registration, cancellationToken), cancellationToken);
Microsoft.VisualStudio.LanguageServices (4)
Packaging\PackageInstallerServiceFactory.cs (2)
146_packageSourcesTask ??= Task.Run(() => GetPackageSourcesAsync(), this.DisposalToken); 252_packageSourcesTask = Task.Run(() => GetPackageSourcesAsync(), this.DisposalToken);
Progression\GraphQueryManager.cs (1)
125var tasks = graphQueries.Select(q => Task.Run(() => q.GetGraphAsync(solution, context, cancellationToken), cancellationToken)).ToHashSet();
PullMemberUp\SymbolDependentsBuilder.cs (1)
27member => Task.Run(() =>