6 references to WaitAndGetResult_CanCallOnBackground
Microsoft.CodeAnalysis.Workspaces (6)
Options\GlobalOptionService.cs (1)
67return GetOptionPersistersAsync(persisterProviders, cancellationToken).WaitAndGetResult_CanCallOnBackground(cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (1)
43return 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)
922projectId: Id, projectFilePath: _filePath, filePath: dynamicFilePath, CancellationToken.None).WaitAndGetResult_CanCallOnBackground(CancellationToken.None);
Workspace\Solution\TextLoader.cs (1)
95return LoadTextAndVersionAsync(options, cancellationToken).WaitAndGetResult_CanCallOnBackground(cancellationToken);
Workspace\Workspace.cs (1)
1974var textChanges = newDoc.GetTextChangesAsync(oldDoc, CancellationToken.None).WaitAndGetResult_CanCallOnBackground(CancellationToken.None); // needs wait