2 references to ReuseExistingSpeculativeModelAsync
Microsoft.CodeAnalysis.Workspaces (2)
CaseCorrection\AbstractCaseCorrectionService.cs (1)
35
var semanticModel = await document.
ReuseExistingSpeculativeModelAsync
(spans.Collapse(), cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
117
=>
ReuseExistingSpeculativeModelAsync
(document, new TextSpan(position, 0), cancellationToken);