1 type derived from DocumentSymbol
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Symbols\RoslynDocumentSymbol.cs (1)
15internal sealed class RoslynDocumentSymbol : DocumentSymbol
15 references to DocumentSymbol
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
Handler\Symbols\DocumentSymbolsHandler.cs (5)
28internal sealed class DocumentSymbolsHandler : ILspServiceDocumentRequestHandler<RoslynDocumentSymbolParams, SumType<DocumentSymbol[], SymbolInformation[]>> 41public Task<SumType<DocumentSymbol[], SymbolInformation[]>> HandleRequestAsync( 52internal static async Task<SumType<DocumentSymbol[], SymbolInformation[]>> GetDocumentSymbolsAsync( 58return Array.Empty<DocumentSymbol>(); 63using var _ = ArrayBuilder<DocumentSymbol>.GetInstance(out var symbols);
Handler\Symbols\RoslynDocumentSymbol.cs (2)
11/// Derived version of <see cref="DocumentSymbol" /> used so we can pass additional information we do not want lost for our 13/// cref="DocumentSymbol.Kind"/>.
Protocol\DocumentSymbol.cs (1)
103public DocumentSymbol[]? Children
Protocol\DocumentSymbolParams.cs (2)
19IPartialResultParams<SumType<SymbolInformation[], DocumentSymbol[]>> 41public IProgress<SumType<SymbolInformation[], DocumentSymbol[]>>? PartialResultToken { get; set; }
Protocol\DocumentSymbolSetting.cs (1)
41/// <see cref="DocumentSymbol"/> if <see cref="HierarchicalDocumentSymbolSupport"/> is
Protocol\Internal\Converters\VSInternalExtensionUtilities.cs (1)
53AddOrReplaceConverter<DocumentSymbol, RoslynDocumentSymbol>();
Protocol\Methods.Document.cs (3)
133/// An array of <see cref="DocumentSymbol"/>, which is a hierarchy of symbols found in a given text document. 136/// Servers should whenever possible return <see cref="DocumentSymbol"/> since it is the richer data structure. 148public static readonly LspRequest<DocumentSymbolParams, SumType<SymbolInformation[], DocumentSymbol[]>?> TextDocumentDocumentSymbol = new(TextDocumentDocumentSymbolName);