1 instantiation of MethodHandlerDetails
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\MethodHandlerDetails.cs (1)
42
builder.Add(
new
(
11 references to MethodHandlerDetails
Microsoft.CodeAnalysis.LanguageServer.Protocol (11)
LspServices\AbstractExportLspServiceAttribute.cs (2)
52
/// that encodes an array of <see cref="
MethodHandlerDetails
"/>s; otherwise <see langword="null"/>.
84
var handlerDetails =
MethodHandlerDetails
.From(handlerType);
LspServices\LspServiceMetadataView.cs (2)
26
public ImmutableArray<
MethodHandlerDetails
>? HandlerDetails { get; }
45
using var _ = ArrayBuilder<
MethodHandlerDetails
>.GetInstance(out var handlerDetails);
LspServices\LspServices.cs (3)
170
public ImmutableArray<(IMethodHandler? Instance, TypeRef HandlerTypeRef, ImmutableArray<
MethodHandlerDetails
> HandlerDetails)> GetMethodHandlers()
172
using var _ = ArrayBuilder<(IMethodHandler?, TypeRef, ImmutableArray<
MethodHandlerDetails
>)>.GetInstance(out var builder);
178
var methods =
MethodHandlerDetails
.From(handlerType);
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\HandlerProvider.cs (1)
81
var handlerDetails =
MethodHandlerDetails
.From(handlerType);
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\IMethodHandlerProvider.cs (1)
18
ImmutableArray<(IMethodHandler? Instance, TypeRef HandlerTypeRef, ImmutableArray<
MethodHandlerDetails
> HandlerDetails)> GetMethodHandlers();
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\MethodHandlerDetails.cs (2)
31
public static ImmutableArray<
MethodHandlerDetails
> From(Type handlerType)
34
var builder = ImmutableArray.CreateBuilder<
MethodHandlerDetails
>(initialCapacity: allHandlerDetails.Length);