Skip to content

Commit 7589533

Browse files
hvitvedCopilot
andauthored
Update csharp/ql/lib/semmle/code/csharp/controlflow/Guards.qll
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 857b1d1 commit 7589533

File tree

1 file changed

+1
-1
lines changed
  • csharp/ql/lib/semmle/code/csharp/controlflow

1 file changed

+1
-1
lines changed

csharp/ql/lib/semmle/code/csharp/controlflow/Guards.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ module Internal {
951951
bao.getAnOperand() = o and
952952
// The other operand must be provably non-null in order
953953
// for `only if` to hold
954-
nonNullValue(o) and
954+
nonNullValueImplied(o) and
955955
e != o
956956
)
957957
}

0 commit comments

Comments
 (0)