This commit is contained in:
David Wengier 2024-08-21 11:58:33 +10:00
Родитель 55c3058eb7
Коммит 687a473d0d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -35,7 +35,7 @@ internal sealed partial class RemoteDocumentSymbolService(in ServiceArgs args) :
private async ValueTask<SumType<DocumentSymbol[], SymbolInformation[]>?> GetDocumentSymbolsAsync(RemoteDocumentContext context, bool useHierarchicalSymbols, CancellationToken cancellationToken)
{
var generatedDocument = await context.GetGeneratedDocumentAsync(_filePathService, cancellationToken).ConfigureAwait(false);
var generatedDocument = await context.Snapshot.GetGeneratedDocumentAsync().ConfigureAwait(false);
var csharpSymbols = await ExternalHandlers.DocumentSymbols.GetDocumentSymbolsAsync(generatedDocument, useHierarchicalSymbols, cancellationToken).ConfigureAwait(false);
var codeDocument = await context.GetCodeDocumentAsync(cancellationToken).ConfigureAwait(false);