Skip to content

Commit

Permalink
Update csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPri…
Browse files Browse the repository at this point in the history
…vate.qll

Co-authored-by: Tom Hvitved <[email protected]>
  • Loading branch information
michaelnebel and hvitved authored Feb 11, 2025
1 parent 3e8f79b commit d99e10a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2087,7 +2087,7 @@ class CaptureNode extends NodeImpl, TCaptureNode {
* same database (which is the case for .NET Runtime).
*/
private predicate hasAutoImplementation(Property p) {
forall(Accessor a | a = p.getAnAccessor() | count(getASourceLocation(a)) > count(a.getBody()))
forex(Accessor a | a = p.getAnAccessor() | strictcount(getASourceLocation(a)) > count(a.getBody()))
}

/** A field or a property. */
Expand Down

0 comments on commit d99e10a

Please sign in to comment.