5 references to TryGetSourceGeneratedDocumentAsync
Microsoft.VisualStudio.LanguageServices.Razor (3)
LanguageClient\Cohost\CohostInlineCompletionEndpoint.cs (1)
76
var generatedDocument = await razorDocument.Project.Solution.
TryGetSourceGeneratedDocumentAsync
(generatedDocumentUri, cancellationToken).ConfigureAwait(false);
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\CodeActions\CohostCodeActionsEndpoint.cs (1)
106
var generatedDocument = await razorDocument.Project.Solution.
TryGetSourceGeneratedDocumentAsync
(request.TextDocument.DocumentUri.GetRequiredParsedUri(), cancellationToken).ConfigureAwait(false);
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\CodeActions\CohostCodeActionsResolveEndpoint.cs (1)
95
var generatedDocument = await razorDocument.Project.Solution.
TryGetSourceGeneratedDocumentAsync
(uri, cancellationToken).ConfigureAwait(false);
Microsoft.VisualStudioCode.RazorExtension (2)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\CodeActions\CohostCodeActionsEndpoint.cs (1)
106
var generatedDocument = await razorDocument.Project.Solution.
TryGetSourceGeneratedDocumentAsync
(request.TextDocument.DocumentUri.GetRequiredParsedUri(), cancellationToken).ConfigureAwait(false);
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\CodeActions\CohostCodeActionsResolveEndpoint.cs (1)
95
var generatedDocument = await razorDocument.Project.Solution.
TryGetSourceGeneratedDocumentAsync
(uri, cancellationToken).ConfigureAwait(false);