Skip to content

Commit 2949edd

Browse files
committed
FIXUP of DB wrt. which operators result in operator calls.
1 parent 5218054 commit 2949edd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

csharp/ql/lib/semmlecode.csharp.dbscheme

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,8 +1215,9 @@ case @expr.kind of
12151215
@literal_expr = @bool_literal_expr | @char_literal_expr | @integer_literal_expr | @real_literal_expr
12161216
| @string_literal_expr | @null_literal_expr;
12171217

1218-
@assign_expr = @simple_assign_expr | @assign_op_expr | @local_var_decl_expr | @assign_event_expr;
1219-
@assign_op_expr = @assign_arith_expr | @assign_bitwise_expr | @assign_coalesce_expr;
1218+
@assign_expr = @simple_assign_expr | @assign_op_expr | @local_var_decl_expr;
1219+
@assign_op_call_expr = @assign_arith_expr | @assign_bitwise_expr
1220+
@assign_op_expr = @assign_op_call_expr | @assign_event_expr | @assign_coalesce_expr;
12201221
@assign_event_expr = @add_event_expr | @remove_event_expr;
12211222

12221223
@assign_arith_expr = @assign_add_expr | @assign_sub_expr | @assign_mul_expr | @assign_div_expr
@@ -1270,7 +1271,7 @@ case @expr.kind of
12701271

12711272
@anonymous_function_expr = @lambda_expr | @anonymous_method_expr;
12721273

1273-
@op_invoke_expr = @operator_invocation_expr | @assign_op_expr
1274+
@op_invoke_expr = @operator_invocation_expr | @assign_op_call_expr
12741275
@call = @method_invocation_expr | @constructor_init_expr | @op_invoke_expr
12751276
| @delegate_invocation_expr | @object_creation_expr | @call_access_expr
12761277
| @local_function_invocation_expr | @function_pointer_invocation_expr;

0 commit comments

Comments
 (0)