6 references to WaitAndGetResult_CanCallOnBackground
Microsoft.CodeAnalysis.Workspaces (6)
Options\GlobalOptionService.cs (1)
67
return GetOptionPersistersAsync(persisterProviders, cancellationToken).
WaitAndGetResult_CanCallOnBackground
(cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (1)
43
return
WaitAndGetResult_CanCallOnBackground
(task, cancellationToken);
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
479
_project.Id, _project._filePath, projectSystemFilePath, CancellationToken.None).
WaitAndGetResult_CanCallOnBackground
(CancellationToken.None);
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
922
projectId: Id, projectFilePath: _filePath, filePath: dynamicFilePath, CancellationToken.None).
WaitAndGetResult_CanCallOnBackground
(CancellationToken.None);
Workspace\Solution\TextLoader.cs (1)
95
return LoadTextAndVersionAsync(options, cancellationToken).
WaitAndGetResult_CanCallOnBackground
(cancellationToken);
Workspace\Workspace.cs (1)
1974
var textChanges = newDoc.GetTextChangesAsync(oldDoc, CancellationToken.None).
WaitAndGetResult_CanCallOnBackground
(CancellationToken.None); // needs wait