5 instantiations of TestRequestWithDocument
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
HandlerTests.cs (5)
145var request = new TestRequestWithDocument(new TextDocumentIdentifier 173var request = new TestRequestWithDocument(new TextDocumentIdentifier 201var request = new TestRequestWithDocument(new TextDocumentIdentifier 231var request = new TestRequestWithDocument(new TextDocumentIdentifier 259var request = new TestRequestWithDocument(new TextDocumentIdentifier
14 references to TestRequestWithDocument
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (14)
HandlerTests.cs (10)
145var request = new TestRequestWithDocument(new TextDocumentIdentifier 163=> await server.ExecuteRequestAsync<TestRequestWithDocument, TestConfigurableResponse>(TestConfigurableDocumentHandler.MethodName, request, CancellationToken.None)); 173var request = new TestRequestWithDocument(new TextDocumentIdentifier 191=> await server.ExecuteRequestAsync<TestRequestWithDocument, TestConfigurableResponse>(TestConfigurableDocumentHandler.MethodName, request, CancellationToken.None)); 201var request = new TestRequestWithDocument(new TextDocumentIdentifier 219=> await server.ExecuteRequestAsync<TestRequestWithDocument, TestConfigurableResponse>(TestConfigurableDocumentHandler.MethodName, request, CancellationToken.None)); 231var request = new TestRequestWithDocument(new TextDocumentIdentifier 249=> await server.ExecuteRequestAsync<TestRequestWithDocument, TestConfigurableResponse>(TestConfigurableDocumentHandler.MethodName, request, CancellationToken.None)); 259var request = new TestRequestWithDocument(new TextDocumentIdentifier 277=> 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);