13 references to Run
Aspire.Hosting (1)
Backchannel\BackchannelLoggerProvider.cs (1)
45_backgroundChannelRegistrationTask = Task.Run(
dotnet-svcutil-lib (1)
Shared\Utilities\AsyncHelper.cs (1)
26var actionTask = Task.Run(action, cancellationToken);
Microsoft.Build (2)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
110Task.Run( 145Task.Run(
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
1105var task = Task.Run( 1530? Task.Run(() => ExecuteSyntaxTreeActions(analysisScope, cancellationToken), cancellationToken) 1535? Task.Run(() => ExecuteAdditionalFileActions(analysisScope, cancellationToken), cancellationToken)
Microsoft.CodeAnalysis.LanguageServer (2)
Testing\TestDiscoverer.cs (1)
60var discoveryTask = Task.Run(() => vsTestConsoleWrapper.DiscoverTests([projectOutputPath], discoverySettings: runSettings, discoveryHandler), cancellationToken);
Testing\TestRunner.cs (1)
46var runTask = Task.Run(() => RunTests(testCases, progress, vsTestConsoleWrapper, handler, attachDebugger, runSettings, clientLanguageServerManager), cancellationToken);
Microsoft.Extensions.Hosting.WindowsServices (1)
WindowsServiceLifetime.cs (1)
129await Task.Run(Stop, cancellationToken).ConfigureAwait(false);
Microsoft.Maui.Resizetizer (1)
AsyncTaskExtensions.cs (1)
41 Task.Run(body, asyncTask.CancellationToken);
System.Windows.Forms.Tests (2)
System\Windows\Forms\FontCacheTests.cs (1)
28Task.Run(() =>
System\Windows\Forms\ScreenDcCacheTests.cs (1)
19Task.Run(() =>