File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
csharp/ql/test/library-tests/dataflow/global Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 196
196
| GlobalDataFlow.cs:472:25:472:50 | call to method ConfigureAwait | return | GlobalDataFlow.cs:472:25:472:50 | call to method ConfigureAwait |
197
197
| GlobalDataFlow.cs:473:23:473:44 | call to method GetAwaiter | return | GlobalDataFlow.cs:473:23:473:44 | call to method GetAwaiter |
198
198
| GlobalDataFlow.cs:474:22:474:40 | call to method GetResult | return | GlobalDataFlow.cs:474:22:474:40 | call to method GetResult |
199
- | GlobalDataFlow.cs:486 :44:486 :47 | delegate call | return | GlobalDataFlow.cs:486 :44:486 :47 | delegate call |
199
+ | GlobalDataFlow.cs:498 :44:498 :47 | delegate call | return | GlobalDataFlow.cs:498 :44:498 :47 | delegate call |
200
200
| Splitting.cs:8:17:8:31 | [b (line 3): false] call to method Return | return | Splitting.cs:8:17:8:31 | [b (line 3): false] call to method Return |
201
201
| Splitting.cs:8:17:8:31 | [b (line 3): true] call to method Return | return | Splitting.cs:8:17:8:31 | [b (line 3): true] call to method Return |
202
202
| Splitting.cs:20:22:20:30 | call to method Return | return | Splitting.cs:20:22:20:30 | call to method Return |
Original file line number Diff line number Diff line change @@ -474,6 +474,18 @@ public void M4()
474
474
var sink45 = awaiter . GetResult ( ) ;
475
475
Check ( sink45 ) ;
476
476
}
477
+
478
+ void M5 ( bool b )
479
+ {
480
+ void Inner ( Action < string > a , bool b , string arg )
481
+ {
482
+ if ( b )
483
+ a = s => Check ( s ) ;
484
+ a ( arg ) ;
485
+ }
486
+
487
+ Inner ( _ => { } , b , "taint source" ) ;
488
+ }
477
489
}
478
490
479
491
static class IEnumerableExtensions
You can’t perform that action at this time.
0 commit comments