Skip to content

Commit edc698f

Browse files
authored
Capture array types in invocation resolver (#121)
1 parent 94827bf commit edc698f

File tree

1 file changed

+4
-0
lines changed
  • packages/cli/src/languagePlugins/csharp/invocationResolver

1 file changed

+4
-0
lines changed

packages/cli/src/languagePlugins/csharp/invocationResolver/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ const calledClassesQuery = new Parser.Query(
7777
returns: (qualified_name) @cls)
7878
(method_declaration
7979
returns: (identifier) @cls)
80+
(array_type
81+
type: (identifier) @cls)
82+
(array_type
83+
type: (qualified_name) @cls)
8084
(generic_name) @cls
8185
`,
8286
// Might have to change the "(generic_name) @cls" line

0 commit comments

Comments
 (0)