1 type derived from LanguageServerEndpointAttribute
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\MethodAttribute.cs (1)
11internal class MethodAttribute : LanguageServerEndpointAttribute
2 instantiations of LanguageServerEndpointAttribute
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\Handlers\InitializedHandler.cs (1)
14[LanguageServerEndpoint("initialized", LanguageServerConstants.DefaultLanguageName)]
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\Handlers\InitializeHandler.cs (1)
13[LanguageServerEndpoint("initialize", LanguageServerConstants.DefaultLanguageName)]
9 references to LanguageServerEndpointAttribute
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\LanguageServerConstants.cs (1)
13/// Default language name for use with <see cref="LanguageServerEndpointAttribute"/> and <see cref="AbstractHandlerProvider.GetMethodHandler"/>.
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\MethodHandlerDetails.cs (8)
103var methodAttribute = GetMethodAttributeFromClassOrInterface(handlerType); 110throw new InvalidOperationException($"{handlerType.FullName} is missing {nameof(LanguageServerEndpointAttribute)}"); 116static LanguageServerEndpointAttribute? GetMethodAttributeFromHandlerMethod(Type handlerType, Type? requestType, Type contextType, Type? responseType) 126return methodInfo.GetCustomAttribute<LanguageServerEndpointAttribute>(); 178static LanguageServerEndpointAttribute? GetMethodAttributeFromClassOrInterface(Type type) 180var attribute = Attribute.GetCustomAttribute(type, typeof(LanguageServerEndpointAttribute)) as LanguageServerEndpointAttribute;