5 references to InvokeAsync
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\ManagedHotReloadServiceProxy.cs (2)
27
var result = await
InvokeAsync
((service, cancellationToken) => service.GetActiveStatementsAsync(cancellationToken), cancellationToken).ConfigureAwait(false);
38
=>
InvokeAsync
((service, cancellationToken) => service.GetCapabilitiesAsync(cancellationToken), cancellationToken);
Microsoft.VisualStudio.LanguageServices.DevKit (3)
EditAndContinue\LspSolutionSnapshotProvider.cs (1)
36
var id = await
InvokeAsync
((service, cancellationToken) => service.RegisterSolutionSnapshotAsync(cancellationToken), cancellationToken).ConfigureAwait(false);
src\EditorFeatures\Core\EditAndContinue\ManagedHotReloadServiceProxy.cs (2)
27
var result = await
InvokeAsync
((service, cancellationToken) => service.GetActiveStatementsAsync(cancellationToken), cancellationToken).ConfigureAwait(false);
38
=>
InvokeAsync
((service, cancellationToken) => service.GetCapabilitiesAsync(cancellationToken), cancellationToken);