51 references to GetCodeDocumentAsync
Microsoft.CodeAnalysis.Razor.Workspaces (15)
CodeActions\Razor\CreateComponentCodeActionResolver.cs (1)
41
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\ExtractToCodeBehindCodeActionResolver.cs (1)
40
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\ExtractToComponentCodeActionResolver.cs (1)
42
var componentDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\ExtractToCssCodeActionResolver.cs (1)
38
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\GenerateEventHandlerCodeActionResolver.cs (1)
40
var code = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\SimplifyFullyQualifiedComponentCodeActionResolver.cs (1)
33
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\SimplifyTagToSelfClosingCodeActionResolver.cs (1)
31
var componentDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
CodeActions\Razor\SortAndConsolidateUsingsCodeActionResolver.cs (1)
19
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
Completion\Delegation\DelegatedCompletionHelper.cs (1)
338
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
DocumentMapping\RazorEditService_WorkspaceEdit.cs (1)
145
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
ProjectSystem\DocumentContext.cs (2)
77
var codeDocument = await
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
95
var codeDocument = await
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
Rename\RenameService.cs (1)
45
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
SemanticTokens\AbstractRazorSemanticTokensInfoService.cs (1)
71
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
SpellCheck\SpellCheckService.cs (1)
34
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Remote.Razor (36)
AutoInsert\RemoteAutoInsertService.cs (1)
69
var codeDocument = await remoteDocumentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
CodeActions\RemoteCodeActionsService.cs (1)
37
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
CodeLens\RemoteCodeLensService.cs (1)
50
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
Completion\RemoteCompletionService.cs (1)
72
var codeDocument = await remoteDocumentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
Debugging\RemoteDataTipRangeService.cs (1)
43
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
Debugging\RemoteDebugInfoService.cs (3)
36
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
65
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
101
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
DevTools\RemoteDevToolsService.cs (5)
41
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
55
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
69
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
91
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
179
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
Diagnostics\RemoteDiagnosticsService.cs (2)
55
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
168
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
DocumentHighlight\RemoteDocumentHighlightService.cs (1)
50
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
DocumentSymbols\RemoteDocumentSymbolService.cs (1)
53
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
FindAllReferences\RemoteFindAllReferencesService.cs (1)
54
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
FoldingRanges\RemoteFoldingRangeService.cs (1)
54
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
Formatting\RemoteFormattingService.cs (2)
81
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
116
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
GoToDefinition\RemoteGoToDefinitionService.cs (1)
51
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
GoToImplementation\RemoteGoToImplementationService.cs (1)
47
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
Hover\RemoteHoverService.cs (1)
49
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
HtmlDocuments\RemoteHtmlDocumentService.cs (1)
33
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
InlayHints\RemoteInlayHintService.cs (1)
42
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
InlineCompletion\RemoteInlineCompletionService.cs (2)
34
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
62
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
LinkedEditingRange\RemoteLinkedEditingRangeService.cs (1)
43
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
NestedFiles\RemoteAddNestedFileService.cs (1)
131
var codeDocument = await documentContext.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
RemoveAndSortUsings\RemoteRemoveAndSortUsingsService.cs (2)
42
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
87
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
Rename\RemoteRenameService.cs (1)
59
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
SignatureHelp\RemoteSignatureHelpService.cs (1)
34
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
UriPresentation\RemoteUriPresentationService.cs (1)
53
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);
WrapWithTag\RemoteWrapWithTagService.cs (1)
39
var codeDocument = await context.
GetCodeDocumentAsync
(cancellationToken).ConfigureAwait(false);