Skip to content

Commit 1bd9636

Browse files
committed
C#: Update the DB Scheme such that compound assignments can be considered operator calls.
1 parent a198f53 commit 1bd9636

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

csharp/ql/lib/semmlecode.csharp.dbscheme

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,14 +1270,15 @@ case @expr.kind of
12701270

12711271
@anonymous_function_expr = @lambda_expr | @anonymous_method_expr;
12721272

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

12771278
@call_access_expr = @property_access_expr | @event_access_expr | @indexer_access_expr;
12781279

12791280
@late_bindable_expr = @dynamic_element_access_expr | @dynamic_member_access_expr
1280-
| @object_creation_expr | @method_invocation_expr | @operator_invocation_expr;
1281+
| @object_creation_expr | @method_invocation_expr | @op_invoke_expr;
12811282

12821283
@throw_element = @throw_expr | @throw_stmt;
12831284

0 commit comments

Comments
 (0)