5 references to TryGetSourceGeneratedDocumentAsync
Microsoft.VisualStudio.LanguageServices.Razor (3)
LanguageClient\Cohost\CohostInlineCompletionEndpoint.cs (1)
76var generatedDocument = await razorDocument.Project.Solution.TryGetSourceGeneratedDocumentAsync(generatedDocumentUri, cancellationToken).ConfigureAwait(false);
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\CodeActions\CohostCodeActionsEndpoint.cs (1)
106var 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)
95var 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)
106var 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)
95var generatedDocument = await razorDocument.Project.Solution.TryGetSourceGeneratedDocumentAsync(uri, cancellationToken).ConfigureAwait(false);