Skip to content

Commit 8398ee4

Browse files
committed
C#: Update test comment and expected test output.
1 parent a964f53 commit 8398ee4

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

csharp/ql/test/library-tests/dispatch/CallContext.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ mayBenefitFromCallContext
2323
| ViableCallable.cs:411:9:411:18 | call to method M<Int32> |
2424
| ViableCallable.cs:455:9:455:30 | call to method M2<T> |
2525
| ViableCallable.cs:461:9:461:30 | call to method M2<T> |
26+
| ViableCallable.cs:572:9:572:15 | call to method M12 |

csharp/ql/test/library-tests/dispatch/CallGraph.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,3 +249,5 @@
249249
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:520:39:520:39 | checked / |
250250
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:524:18:524:20 | M12 |
251251
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:526:18:526:20 | M13 |
252+
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:539:17:539:19 | M11 |
253+
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:540:17:540:19 | M12 |

csharp/ql/test/library-tests/dispatch/GetADynamicTarget.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,5 +480,7 @@
480480
| ViableCallable.cs:560:26:560:30 | call to operator checked * | I3<T>.checked *(T, T) |
481481
| ViableCallable.cs:563:18:563:22 | call to operator / | I3<T>./(T, T) |
482482
| ViableCallable.cs:566:26:566:30 | call to operator checked / | I3<T>.checked /(T, T) |
483+
| ViableCallable.cs:569:9:569:15 | call to method M11 | C20.M11() |
484+
| ViableCallable.cs:572:9:572:15 | call to method M12 | C20.M12() |
483485
| ViableCallable.cs:572:9:572:15 | call to method M12 | I3<T>.M12() |
484486
| ViableCallable.cs:575:9:575:15 | call to method M13 | I3<T>.M13() |

csharp/ql/test/library-tests/dispatch/ViableCallable.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,10 +565,10 @@ void Run<T>(T c) where T : I3<T>
565565
// Viable callables: {C20,I3<C20>}.op_CheckedDivision(). MISSING: C20.op_CheckedDivision()
566566
var c8 = checked(c / c);
567567

568-
// Viable callables: C20.M11. MISSING: C20.M11()
568+
// Viable callables: C20.M11.
569569
c.M11();
570570

571-
// Viable callables: {C20,I3<C20>}.M12(). MISSING: C20.M12()
571+
// Viable callables: {C20,I3<C20>}.M12().
572572
c.M12();
573573

574574
// Viable callables: I3<C20>.M13()

csharp/ql/test/library-tests/dispatch/viableCallable.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,5 +277,7 @@
277277
| ViableCallable.cs:560:26:560:30 | call to operator checked * | checked * | I3<> |
278278
| ViableCallable.cs:563:18:563:22 | call to operator / | / | I3<> |
279279
| ViableCallable.cs:566:26:566:30 | call to operator checked / | checked / | I3<> |
280+
| ViableCallable.cs:569:9:569:15 | call to method M11 | M11 | C20 |
281+
| ViableCallable.cs:572:9:572:15 | call to method M12 | M12 | C20 |
280282
| ViableCallable.cs:572:9:572:15 | call to method M12 | M12 | I3<> |
281283
| ViableCallable.cs:575:9:575:15 | call to method M13 | M13 | I3<> |

0 commit comments

Comments
 (0)