1 type derived from DocumentSymbol
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Symbols\RoslynDocumentSymbol.cs (1)
15
internal sealed class RoslynDocumentSymbol :
DocumentSymbol
15 references to DocumentSymbol
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
Handler\Symbols\DocumentSymbolsHandler.cs (5)
28
internal sealed class DocumentSymbolsHandler : ILspServiceDocumentRequestHandler<RoslynDocumentSymbolParams, SumType<
DocumentSymbol
[], SymbolInformation[]>>
41
public Task<SumType<
DocumentSymbol
[], SymbolInformation[]>> HandleRequestAsync(
52
internal static async Task<SumType<
DocumentSymbol
[], SymbolInformation[]>> GetDocumentSymbolsAsync(
58
return Array.Empty<
DocumentSymbol
>();
63
using 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)
103
public
DocumentSymbol
[]? Children
Protocol\DocumentSymbolParams.cs (2)
19
IPartialResultParams<SumType<SymbolInformation[],
DocumentSymbol
[]>>
41
public 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)
53
AddOrReplaceConverter<
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.
148
public static readonly LspRequest<DocumentSymbolParams, SumType<SymbolInformation[],
DocumentSymbol
[]>?> TextDocumentDocumentSymbol = new(TextDocumentDocumentSymbolName);