5 instantiations of TestRequestWithDocument
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
HandlerTests.cs (5)
147var request = new TestRequestWithDocument(new TextDocumentIdentifier 180var request = new TestRequestWithDocument(new TextDocumentIdentifier 213var request = new TestRequestWithDocument(new TextDocumentIdentifier 243var request = new TestRequestWithDocument(new TextDocumentIdentifier 276var request = new TestRequestWithDocument(new TextDocumentIdentifier
14 references to TestRequestWithDocument
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (14)
HandlerTests.cs (10)
147var request = new TestRequestWithDocument(new TextDocumentIdentifier 165=> await server.ExecuteRequestAsync<TestRequestWithDocument, TestConfigurableResponse>(TestConfigurableDocumentHandler.MethodName, request, CancellationToken.None)); 180var request = new TestRequestWithDocument(new TextDocumentIdentifier 198=> await server.ExecuteRequestAsync<TestRequestWithDocument, TestConfigurableResponse>(TestConfigurableDocumentHandler.MethodName, request, CancellationToken.None)); 213var request = new TestRequestWithDocument(new TextDocumentIdentifier 231=> await server.ExecuteRequestAsync<TestRequestWithDocument, TestConfigurableResponse>(TestConfigurableDocumentHandler.MethodName, request, CancellationToken.None)); 243var request = new TestRequestWithDocument(new TextDocumentIdentifier 261=> await server.ExecuteRequestAsync<TestRequestWithDocument, TestConfigurableResponse>(TestConfigurableDocumentHandler.MethodName, request, CancellationToken.None)); 276var request = new TestRequestWithDocument(new TextDocumentIdentifier 294=> await server.ExecuteRequestAsync<TestRequestWithDocument, TestConfigurableResponse>(TestConfigurableDocumentHandler.MethodName, request, CancellationToken.None));
TestConfigurableDocumentHandler.cs (4)
27internal sealed class TestConfigurableDocumentHandler() : ILspServiceDocumentRequestHandler<TestRequestWithDocument, TestConfigurableResponse> 50public TextDocumentIdentifier GetTextDocumentIdentifier(TestRequestWithDocument request) 55public Task<TestConfigurableResponse> HandleRequestAsync(TestRequestWithDocument request, RequestContext context, CancellationToken cancellationToken) 64TypeRef.From(typeof(TestRequestWithDocument)), TypeRef.From(typeof(TestConfigurableResponse)), LanguageServerConstants.DefaultLanguageName);