9 references to MethodName
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (9)
HandlerTests.cs (9)
49var response = await server.ExecuteRequestAsync<TestRequestTypeOne, string>(TestDocumentHandler.MethodName, request, CancellationToken.None);
96var response = await server.ExecuteRequestAsync<TestRequestTypeOne, string>(TestDocumentHandler.MethodName, request, CancellationToken.None);
109var 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));
303await Assert.ThrowsAnyAsync<Exception>(async () => await testLspServer.ExecuteRequestAsync<TestRequestTypeOne, string>(TestDocumentHandler.MethodName, request, CancellationToken.None)).ConfigureAwait(false);
319[LanguageServerEndpoint(MethodName, LanguageServerConstants.DefaultLanguageName)]
441[LanguageServerEndpoint(TestDocumentHandler.MethodName, LanguageNames.FSharp)]
465[LanguageServerEndpoint(TestDocumentHandler.MethodName, LanguageNames.VisualBasic)]
489[LanguageServerEndpoint(TestDocumentHandler.MethodName, LanguageNames.FSharp)]