Skip to content

Commit 83f8a40

Browse files
committed
C#: Address review comments.
1 parent fbbdea0 commit 83f8a40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,9 @@ 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() |
2091+
strictcount(getASourceLocation(a)) > count(a.getBody())
2092+
)
20912093
}
20922094

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

0 commit comments

Comments
 (0)