@@ -31,43 +31,6 @@ public TextDocumentClient(LanguageClient client)
3131 /// </summary>
3232 public LanguageClient Client { get ; }
3333
34- /// <summary>
35- /// Make a request to the server for the specified document position.
36- /// </summary>
37- /// <typeparam name="TResponse">
38- /// The response payload type.
39- /// </typeparam>
40- /// <param name="method">
41- /// The name of the operation to invoke.
42- /// </param>
43- /// <param name="filePath">
44- /// The file-system path of the target document.
45- /// </param>
46- /// <param name="line">
47- /// The target line numer (0-based).
48- /// </param>
49- /// <param name="column">
50- /// The target column (0-based).
51- /// </param>
52- /// <param name="cancellationToken">
53- /// A cancellation token that can be used to cancel the request.
54- /// </param>
55- /// <returns>
56- /// A <see cref="Task{TResult}"/> representing the request.
57- /// </returns>
58- Task < TResponse > PositionalRequest < TResponse > ( string method , string filePath , int line , int column , CancellationToken cancellationToken )
59- {
60- if ( String . IsNullOrWhiteSpace ( method ) )
61- throw new ArgumentException ( $ "Argument cannot be null, empty, or entirely composed of whitespace: { nameof ( method ) } .", nameof ( method ) ) ;
62-
63- if ( String . IsNullOrWhiteSpace ( filePath ) )
64- throw new ArgumentException ( $ "Argument cannot be null, empty, or entirely composed of whitespace: { nameof ( filePath ) } .", nameof ( filePath ) ) ;
65-
66- Uri documentUri = DocumentUri . FromFileSystemPath ( filePath ) ;
67-
68- return PositionalRequest < TResponse > ( method , documentUri , line , column , cancellationToken ) ;
69- }
70-
7134 /// <summary>
7235 /// Make a request to the server for the specified document position.
7336 /// </summary>
0 commit comments