1 type derived from SymbolInformation
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Extensions\VSSymbolInformation.cs (1)
14
:
SymbolInformation
1 instantiation of SymbolInformation
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Symbols\SymbolInformationFactory.cs (1)
30
return new
SymbolInformation
()
29 references to SymbolInformation
Microsoft.CodeAnalysis.LanguageServer.Protocol (29)
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(
72
using var _ = ArrayBuilder<
SymbolInformation
>.GetInstance(out var symbols);
88
private static
SymbolInformation
? GetSymbolInformation(
Handler\Symbols\SymbolInformationFactory.cs (1)
12
public static
SymbolInformation
Create(string name, string? containerName, LSP.SymbolKind kind, LSP.Location location, Glyph glyph, bool supportsVSExtensions)
Handler\Symbols\WorkspaceSymbolsHandler.cs (6)
28
: ILspServiceRequestHandler<WorkspaceSymbolParams, SumType<
SymbolInformation
[], WorkspaceSymbol[]>?>
50
public async Task<SumType<
SymbolInformation
[], WorkspaceSymbol[]>?> HandleRequestAsync(WorkspaceSymbolParams request, RequestContext context, CancellationToken cancellationToken)
58
(
SymbolInformation
[] t) => new SumType<
SymbolInformation
[], WorkspaceSymbol[]>(t));
74
BufferedProgress<
SymbolInformation
[]> progress)
94
var
symbolInfo = SymbolInformationFactory.Create(
Protocol\DocumentSymbolParams.cs (2)
19
IPartialResultParams<SumType<
SymbolInformation
[], DocumentSymbol[]>>
41
public IProgress<SumType<
SymbolInformation
[], DocumentSymbol[]>>? PartialResultToken { get; set; }
Protocol\DocumentSymbolSetting.cs (1)
40
/// The client supports tags on <see cref="
SymbolInformation
"/>. Tags are supported on
Protocol\Extensions\Converters\VSExtensionUtilities.cs (1)
38
TryAddConverter<
SymbolInformation
, VSSymbolInformation>();
Protocol\Extensions\VSSymbolInformation.cs (1)
10
/// <see cref="VSSymbolInformation"/> extends <see cref="
SymbolInformation
"/> providing additional properties used by Visual Studio.
Protocol\Internal\Converters\VSInternalExtensionUtilities.cs (1)
46
AddOrReplaceConverter<
SymbolInformation
, VSInternalSymbolInformation>();
Protocol\Methods.Document.cs (2)
130
/// An array of <see cref="
SymbolInformation
"/>, which is a flat list of all symbols found in a given text document. Neither the symbol’s location range nor the symbol’s container name should be used to infer a hierarchy.
148
public static readonly LspRequest<DocumentSymbolParams, SumType<
SymbolInformation
[], DocumentSymbol[]>?> TextDocumentDocumentSymbol = new(TextDocumentDocumentSymbolName);
Protocol\Methods.Workspace.cs (1)
27
public static readonly LspRequest<WorkspaceSymbolParams, SumType<
SymbolInformation
[], WorkspaceSymbol[]>?> WorkspaceSymbol = new(WorkspaceSymbolName);
Protocol\SymbolInformation.cs (3)
19
internal class SymbolInformation : IEquatable<
SymbolInformation
>
108
return this.Equals(obj as
SymbolInformation
);
112
public bool Equals(
SymbolInformation
? other)
Protocol\SymbolSetting.cs (1)
28
/// The client supports tags on <see cref="
SymbolInformation
"/> and <see cref="WorkspaceSymbol"/>.
Protocol\SymbolTagSupport.cs (1)
10
/// Describes the tags supported by the client on <see cref="
SymbolInformation
"/> and <see cref="WorkspaceSymbol"/>.
Protocol\WorkspaceSymbol.cs (1)
54
/// <seealso cref="
SymbolInformation
.Location"/>
Protocol\WorkspaceSymbolParams.cs (2)
18
: IPartialResultParams<SumType<
SymbolInformation
[], WorkspaceSymbol[]>>, IWorkDoneProgressParams
32
public IProgress<SumType<
SymbolInformation
[], WorkspaceSymbol[]>>? PartialResultToken { get; set; }