Update parsers with C# fixes (#1910)

* highlights(c_sharp): fix queries for parser update

* Update c_sharp parser

* Fix generic method
This commit is contained in:
Stephan Seitz 2021-10-22 23:31:41 +02:00 committed by GitHub
parent 10419ee747
commit 57d3126ac1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View file

@ -135,12 +135,13 @@
(generic_name
(identifier) @type))
type: (generic_name
(identifier) @type)
(_
type: (generic_name
(identifier) @type))
; Generic Method invocation with generic type
(invocation_expression
function: (generic_name) @method)
function: (generic_name
. (identifier) @method))
(invocation_expression
(member_access_expression
@ -368,7 +369,7 @@ type: (generic_name
"fixed"
] @keyword
(parameter_modifier "this" @keyword)
(parameter_modifier) @operator
(query_expression
(_ [