@@ -285,14 +285,14 @@ private List<CsharpAstNode> queryEvents(CsharpAstNode astNode)
285285 }
286286
287287
288- public async Task < language . AstNodeInfo > getAstNodeInfoAsync ( string astNodeId ,
288+ public async Task < language . AstNodeInfo > getAstNodeInfo ( string astNodeId ,
289289 CancellationToken cancellationToken = default ( CancellationToken ) )
290290 {
291291 System . Console . WriteLine ( "[CSharpService] getAstNodeInfoAsync" ) ;
292292 return await Task . FromResult ( new language . AstNodeInfo ( ) ) ;
293293 }
294294
295- public async Task < language . AstNodeInfo > getAstNodeInfoByPositionAsync ( string path_ ,
295+ public async Task < language . AstNodeInfo > getAstNodeInfoByPosition ( string path_ ,
296296 Position pos_ ,
297297 CancellationToken cancellationToken = default ( CancellationToken ) )
298298 {
@@ -321,7 +321,7 @@ private List<CsharpAstNode> queryEvents(CsharpAstNode astNode)
321321 return await Task . FromResult ( createAstNodeInfo ( minNode ) ) ;
322322 }
323323
324- public async Task < Dictionary < string , string > > getPropertiesAsync ( string astNodeIds ,
324+ public async Task < Dictionary < string , string > > getProperties ( string astNodeIds ,
325325 CancellationToken cancellationToken = default ( CancellationToken ) )
326326 {
327327 Dictionary < string , string > ret = new Dictionary < string , string > ( ) ;
@@ -411,21 +411,21 @@ public async Task<Dictionary<string, string>> getPropertiesAsync(string astNodeI
411411 return await Task . FromResult ( ret ) ;
412412 }
413413
414- public async Task < string > getDocumentationAsync ( string astNodeId ,
414+ public async Task < string > getDocumentation ( string astNodeId ,
415415 CancellationToken cancellationToken = default ( CancellationToken ) )
416416 {
417417 System . Console . WriteLine ( "[CSharpService] getDocumentationAsync" ) ;
418418 CsharpAstNode node = queryCsharpAstNode ( astNodeId ) ;
419419 return await Task . FromResult ( "Documentation" ) ;
420420 }
421421
422- public async Task < FileRange > getFileRangeAsync ( string astNodeId ,
422+ public async Task < FileRange > getFileRange ( string astNodeId ,
423423 CancellationToken cancellationToken = default ( CancellationToken ) )
424424 {
425425 return await Task . FromResult ( getFileRange ( queryCsharpAstNode ( astNodeId ) ) ) ;
426426 }
427427
428- public async Task < Dictionary < string , int > > getReferenceTypesAsync ( string astNodeId ,
428+ public async Task < Dictionary < string , int > > getReferenceTypes ( string astNodeId ,
429429 CancellationToken cancellationToken = default ( CancellationToken ) )
430430 {
431431 var node = queryCsharpAstNode ( astNodeId ) ;
@@ -503,7 +503,7 @@ public async Task<Dictionary<string, int>> getReferenceTypesAsync(string astNode
503503 return await Task . FromResult ( ret ) ;
504504 }
505505
506- public async Task < int > getReferenceCountAsync ( string astNodeId , int referenceId ,
506+ public async Task < int > getReferenceCount ( string astNodeId , int referenceId ,
507507 CancellationToken cancellationToken = default ( CancellationToken ) )
508508 {
509509 var node = queryCsharpAstNode ( astNodeId ) ;
@@ -570,7 +570,7 @@ public async Task<int> getReferenceCountAsync(string astNodeId, int referenceId,
570570 return await Task . FromResult ( ret ) ;
571571 }
572572
573- public async Task < List < language . AstNodeInfo > > getReferencesAsync ( string astNodeId ,
573+ public async Task < List < language . AstNodeInfo > > getReferences ( string astNodeId ,
574574 int referenceId , List < string > tags ,
575575 CancellationToken cancellationToken = default ( CancellationToken ) )
576576 {
@@ -638,7 +638,7 @@ public async Task<int> getReferenceCountAsync(string astNodeId, int referenceId,
638638 return await Task . FromResult ( ret ) ;
639639 }
640640
641- public async Task < Dictionary < string , int > > getFileReferenceTypesAsync (
641+ public async Task < Dictionary < string , int > > getFileReferenceTypes (
642642 CancellationToken cancellationToken = default ( CancellationToken ) )
643643 {
644644 var ret = new Dictionary < string , int > ( ) ;
@@ -648,32 +648,32 @@ public async Task<Dictionary<string, int>> getFileReferenceTypesAsync(
648648 return await Task . FromResult ( ret ) ;
649649 }
650650
651- public async Task < int > getFileReferenceCountAsync ( string path , int referenceId ,
651+ public async Task < int > getFileReferenceCount ( string path , int referenceId ,
652652 CancellationToken cancellationToken = default ( CancellationToken ) )
653653 {
654654 return await Task . FromResult ( 0 ) ;
655655 }
656656
657- public async Task < List < language . AstNodeInfo > > getFileReferencesAsync ( string path ,
657+ public async Task < List < language . AstNodeInfo > > getFileReferences ( string path ,
658658 int referenceId ,
659659 CancellationToken cancellationToken = default ( CancellationToken ) )
660660 {
661661 return await Task . FromResult ( new List < language . AstNodeInfo > ( ) ) ;
662662 }
663663
664- public async Task < Dictionary < string , int > > getDiagramTypesAsync ( string astNodeId ,
664+ public async Task < Dictionary < string , int > > getDiagramTypes ( string astNodeId ,
665665 CancellationToken cancellationToken = default ( CancellationToken ) )
666666 {
667667 return await Task . FromResult ( new Dictionary < string , int > ( ) ) ;
668668 }
669669
670- public async Task < string > getDiagramAsync ( string astNodeId , int diagramId ,
670+ public async Task < string > getDiagram ( string astNodeId , int diagramId ,
671671 CancellationToken cancellationToken = default ( CancellationToken ) )
672672 {
673673 return await Task . FromResult ( "Diagram" ) ;
674674 }
675675
676- public async Task < List < language . SyntaxHighlight > > getSyntaxHighlightAsync ( FileRange range ,
676+ public async Task < List < language . SyntaxHighlight > > getSyntaxHighlight ( FileRange range ,
677677 List < string > content ,
678678 CancellationToken cancellationToken = default ( CancellationToken ) )
679679 {
0 commit comments