13 references to GetSourceTextAsync
Microsoft.CodeAnalysis.Razor.Workspaces (7)
CodeActions\CSharp\CSharpCodeActionResolver.cs (1)
63var sourceText = await documentContext.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\ExtractToCodeBehindCodeActionResolver.cs (1)
46var text = await documentContext.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\ExtractToCssCodeActionResolver.cs (1)
43var text = await documentContext.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\PromoteUsingCodeActionResolver.cs (1)
35var sourceText = await documentContext.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\RemoveUnnecessaryDirectivesCodeActionResolver.cs (1)
27var sourceText = await documentContext.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\WrapAttributesCodeActionResolver.cs (1)
30var sourceText = await documentContext.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
Completion\Delegation\DelegatedCompletionHelper.cs (1)
398var sourceText = await documentContext.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Remote.Razor (6)
AutoInsert\RemoteAutoInsertService.cs (2)
63var sourceText = await remoteDocumentContext.GetSourceTextAsync(cancellationToken).ConfigureAwait(false); 179var sourceText = await remoteDocumentContext.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
Completion\RemoteCompletionService.cs (1)
66var sourceText = await remoteDocumentContext.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
DocumentHighlight\RemoteDocumentHighlightService.cs (1)
44var sourceText = await context.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
Formatting\RemoteFormattingService.cs (1)
82var sourceText = await context.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);
UriPresentation\RemoteUriPresentationService.cs (1)
46var sourceText = await context.GetSourceTextAsync(cancellationToken).ConfigureAwait(false);