Skip to content

Commit 79b3a8c

Browse files
committed
C#: avoid call to Location::toString()
1 parent 6483080 commit 79b3a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/src/Complexity/ComplexCondition.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ where
2626
operators =
2727
count(BinaryLogicalOperation op | logicalParent*(op, e) and nontrivialLogicalOperator(op)) and
2828
operators > 3
29-
select e.getLocation(), "Complex condition: too many logical operations in this expression."
29+
select e, "Complex condition: too many logical operations in this expression."

0 commit comments

Comments
 (0)