8 references to Run
dotnet-svcutil-lib (1)
Shared\Utilities\AsyncHelper.cs (1)
50
finishedTask = await Task.WhenAny(Task<T>.
Run
(func, cancellationToken), taskCompletionSrc.Task);
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerManager.AnalyzerExecutionContext.cs (1)
153
symbolScopeTask = Task.
Run
(() => getSymbolAnalysisScopeCore(), cancellationToken);
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
152
var highlightAndFilterTask = Task.
Run
(
Microsoft.CodeAnalysis.Features (3)
EditAndContinue\CommittedSolution.cs (1)
375
return await Task.
Run
(() => TryGetPdbMatchingSourceTextFromDisk(log, filePath, sourceText.Encoding, requiredChecksum, checksumAlgorithm), cancellationToken).ConfigureAwait(false);
EditAndContinue\DebuggingSession.cs (2)
279
return Task.
Run
(ReadMvid, cancellationToken);
493
_ = Task.
Run
(() => DebuggerService.PrepareModuleForUpdateAsync(mvid, cancellationToken), cancellationToken);
Microsoft.Maui.Controls (1)
ImageSource.cs (1)
91
return new StreamImageSource { Stream = token => Task.
Run
(stream, token) };
Microsoft.Maui.Resizetizer (1)
AsyncTaskExtensions.cs (1)
48
Task.
Run
(body, asyncTask.CancellationToken);