C#: Add list- and slice pattern expression kinds and re-generate ExprKind.cs.

This commit is contained in:
Michael Nebel
2022-12-07 15:46:56 +01:00
parent 99286fbdb1
commit 00354a2f08
2 changed files with 6 additions and 1 deletions

View File

@@ -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,
}
}

View File

@@ -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
;