Skip to content

Commit fc87f1e

Browse files
committed
C#: Fix tests.
1 parent 4298a3a commit fc87f1e

File tree

3 files changed

+99
-99
lines changed

3 files changed

+99
-99
lines changed

csharp/ql/src/semmle/code/csharp/frameworks/JsonNET.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module JsonNET {
5050
) {
5151
// ToString methods
5252
c = getAToStringMethod() and
53-
preservesValue = true and
53+
preservesValue = false and
5454
source = any(CallableFlowSourceArg arg | arg.getArgumentIndex() = 0) and
5555
sink instanceof CallableFlowSinkReturn
5656
or

0 commit comments

Comments
 (0)