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