mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
C#: Add list- and slice pattern expression kinds and re-generate ExprKind.cs.
This commit is contained in:
@@ -125,6 +125,8 @@ namespace Semmle.Extraction.Kinds
|
||||
OR_PATTERN = 128,
|
||||
FUNCTION_POINTER_INVOCATION = 129,
|
||||
WITH = 130,
|
||||
DEFINE_SYMBOL = 999
|
||||
LIST_PATTERN = 131,
|
||||
SLICE_PATTERN = 132,
|
||||
DEFINE_SYMBOL = 999,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1134,6 +1134,9 @@ case @expr.kind of
|
||||
| 128 = @or_pattern_expr
|
||||
| 129 = @function_pointer_invocation_expr
|
||||
| 130 = @with_expr
|
||||
/* C# 11.0 */
|
||||
| 131 = @list_pattern_expr
|
||||
| 132 = @slice_pattern_expr
|
||||
/* Preprocessor */
|
||||
| 999 = @define_symbol_expr
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user