Skip to content

Commit d99e10a

Browse files
Update csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll
Co-authored-by: Tom Hvitved <hvitved@github.com>
1 parent 3e8f79b commit d99e10a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,7 @@ class CaptureNode extends NodeImpl, TCaptureNode {
20872087
* same database (which is the case for .NET Runtime).
20882088
*/
20892089
private predicate hasAutoImplementation(Property p) {
2090-
forall(Accessor a | a = p.getAnAccessor() | count(getASourceLocation(a)) > count(a.getBody()))
2090+
forex(Accessor a | a = p.getAnAccessor() | strictcount(getASourceLocation(a)) > count(a.getBody()))
20912091
}
20922092

20932093
/** A field or a property. */

0 commit comments

Comments
 (0)