mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
C#: Allow attributes on local functions
This commit is contained in:
@@ -227,7 +227,8 @@ tokens(
|
||||
@external_element = @externalMetric | @externalDefect | @externalDataElement;
|
||||
|
||||
@attributable = @assembly | @field | @parameter | @operator | @method | @constructor
|
||||
| @destructor | @callable_accessor | @value_or_ref_type | @declaration_with_accessors;
|
||||
| @destructor | @callable_accessor | @value_or_ref_type | @declaration_with_accessors
|
||||
| @local_function;
|
||||
|
||||
/** LOCATIONS, ASEMMBLIES, MODULES, FILES and FOLDERS **/
|
||||
|
||||
@@ -986,7 +987,7 @@ case @expr.kind of
|
||||
| 109 = @local_function_invocation_expr
|
||||
| 110 = @ref_expr
|
||||
| 111 = @discard_expr
|
||||
/* C# 8.0 */
|
||||
/* C# 8.0 */
|
||||
| 112 = @range_expr
|
||||
| 113 = @index_expr
|
||||
| 114 = @switch_expr
|
||||
|
||||
Reference in New Issue
Block a user