Skip to content

Commit 75ea449

Browse files
committed
C#: Only include source code nodes in the identity local step consistency check.
1 parent 85841f6 commit 75ea449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/consistency-queries/DataFlowConsistency.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ private class MyConsistencyConfiguration extends ConsistencyConfiguration {
7272

7373
override predicate reverseReadExclude(Node n) { n.asExpr() = any(AwaitExpr ae).getExpr() }
7474

75-
override predicate identityLocalStepExclude(Node n) { this.missingLocationExclude(n) }
75+
override predicate identityLocalStepExclude(Node n) { n.getLocation().getFile().fromLibrary() }
7676
}

0 commit comments

Comments
 (0)