9 references to MethodName
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (9)
HandlerTests.cs (9)
48var response = await server.ExecuteRequestAsync<TestRequestTypeOne, string>(TestDocumentHandler.MethodName, request, CancellationToken.None);
95var response = await server.ExecuteRequestAsync<TestRequestTypeOne, string>(TestDocumentHandler.MethodName, request, CancellationToken.None);
108var response = await server.ExecuteRequestAsync<TestRequestTypeTwo, string>(TestDocumentHandler.MethodName, request, CancellationToken.None);
136await Assert.ThrowsAnyAsync<Exception>(async () => await server.ExecuteRequestAsync<TestRequestTypeThree, string>(TestDocumentHandler.MethodName, request, CancellationToken.None));
296await Assert.ThrowsAnyAsync<Exception>(async () => await testLspServer.ExecuteRequestAsync<TestRequestTypeOne, string>(TestDocumentHandler.MethodName, request, CancellationToken.None)).ConfigureAwait(false);
307[LanguageServerEndpoint(MethodName, LanguageServerConstants.DefaultLanguageName)]
431[LanguageServerEndpoint(TestDocumentHandler.MethodName, LanguageNames.FSharp)]
455[LanguageServerEndpoint(TestDocumentHandler.MethodName, LanguageNames.VisualBasic)]
479[LanguageServerEndpoint(TestDocumentHandler.MethodName, LanguageNames.FSharp)]