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); 133await Assert.ThrowsAnyAsync<Exception>(async () => await server.ExecuteRequestAsync<TestRequestTypeThree, string>(TestDocumentHandler.MethodName, request, CancellationToken.None)); 293await Assert.ThrowsAnyAsync<Exception>(async () => await testLspServer.ExecuteRequestAsync<TestRequestTypeOne, string>(TestDocumentHandler.MethodName, request, CancellationToken.None)).ConfigureAwait(false); 304[LanguageServerEndpoint(MethodName, LanguageServerConstants.DefaultLanguageName)] 428[LanguageServerEndpoint(TestDocumentHandler.MethodName, LanguageNames.FSharp)] 452[LanguageServerEndpoint(TestDocumentHandler.MethodName, LanguageNames.VisualBasic)] 476[LanguageServerEndpoint(TestDocumentHandler.MethodName, LanguageNames.FSharp)]