6 references to InvokeAsync
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\ManagedHotReloadServiceProxy.cs (2)
22var result = await InvokeAsync((service, cancellationToken) => service.GetActiveStatementsAsync(cancellationToken), cancellationToken).ConfigureAwait(false); 33=> InvokeAsync((service, cancellationToken) => service.GetCapabilitiesAsync(cancellationToken), cancellationToken);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
EditAndContinue\EditorManagedHotReloadLanguageServiceTests.cs (1)
71=> InvokeAsync((service, cancellationToken) => service.GetCapabilitiesAsync(cancellationToken), cancellationToken);
Microsoft.VisualStudio.LanguageServices.DevKit (3)
EditAndContinue\LspSolutionSnapshotProvider.cs (1)
31var id = await InvokeAsync((service, cancellationToken) => service.RegisterSolutionSnapshotAsync(cancellationToken), cancellationToken).ConfigureAwait(false);
src\EditorFeatures\Core\EditAndContinue\ManagedHotReloadServiceProxy.cs (2)
22var result = await InvokeAsync((service, cancellationToken) => service.GetActiveStatementsAsync(cancellationToken), cancellationToken).ConfigureAwait(false); 33=> InvokeAsync((service, cancellationToken) => service.GetCapabilitiesAsync(cancellationToken), cancellationToken);