File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
csharp/ql/test/library-tests/dataflow/implicittostring Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ implicitToString.cs:
4848# 25| 0: [LocalVariableAccess] access to local variable x2
4949# 25| 1: [AddExpr] ... + ...
5050# 25| 0: [StringLiteralUtf16] "Hello"
51+ # 25| 1: [MethodCall] call to method ToString
52+ # 25| -1: [LocalVariableAccess] access to local variable x1
5153# 26| 2: [ExprStmt] ...;
5254# 26| 0: [MethodCall] call to method Sink
5355# 26| 0: [LocalVariableAccess] access to local variable x2
@@ -86,8 +88,8 @@ implicitToString.cs:
8688# 39| 0: [LocalVariableAccess] access to local variable x2
8789# 39| 1: [InterpolatedStringExpr] $"..."
8890# 39| 0: [StringLiteralUtf16] "Hello "
91+ # 39| 1: [MethodCall] call to method ToString
92+ # 39| -1: [LocalVariableAccess] access to local variable x1
8993# 40| 2: [ExprStmt] ...;
9094# 40| 0: [MethodCall] call to method Sink
9195# 40| 0: [LocalVariableAccess] access to local variable x2
92- # 25| [LocalVariableAccess] access to local variable x1
93- # 39| [LocalVariableAccess] access to local variable x1
You can’t perform that action at this time.
0 commit comments