Skip to content

Commit 41b2273

Browse files
committed
C#: Update expected test output.
1 parent e247994 commit 41b2273

File tree

5 files changed

+22
-5
lines changed

5 files changed

+22
-5
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ 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:563:18:563:22 | call to operator / |
27+
| ViableCallable.cs:566:26:566:30 | call to operator checked / |
2628
| ViableCallable.cs:572:9:572:15 | call to method M12 |

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,5 +249,10 @@
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:531:32:531:32 | + |
253+
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:532:40:532:40 | checked + |
254+
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:534:32:534:32 | - |
255+
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:536:32:536:32 | / |
256+
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:537:40:537:40 | checked / |
252257
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:539:17:539:19 | M11 |
253258
| ViableCallable.cs:542:10:542:15 | Run<> | ViableCallable.cs:540:17:540:19 | M12 |

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,10 +475,15 @@
475475
| ViableCallable.cs:498:26:498:30 | call to operator checked + | C19.checked +(C19, C19) |
476476
| ViableCallable.cs:501:18:501:23 | call to operator explicit conversion | C19.explicit conversion(C19) |
477477
| ViableCallable.cs:504:26:504:31 | call to operator checked explicit conversion | C19.checked explicit conversion(C19) |
478+
| ViableCallable.cs:545:18:545:22 | call to operator + | C20.+(C20, C20) |
479+
| ViableCallable.cs:548:26:548:30 | call to operator checked + | C20.checked +(C20, C20) |
480+
| ViableCallable.cs:551:18:551:22 | call to operator - | C20.-(C20, C20) |
478481
| ViableCallable.cs:554:26:554:30 | call to operator checked - | I3<T>.checked -(T, T) |
479482
| ViableCallable.cs:557:18:557:22 | call to operator * | I3<T>.*(T, T) |
480483
| ViableCallable.cs:560:26:560:30 | call to operator checked * | I3<T>.checked *(T, T) |
484+
| ViableCallable.cs:563:18:563:22 | call to operator / | C20./(C20, C20) |
481485
| ViableCallable.cs:563:18:563:22 | call to operator / | I3<T>./(T, T) |
486+
| ViableCallable.cs:566:26:566:30 | call to operator checked / | C20.checked /(C20, C20) |
482487
| ViableCallable.cs:566:26:566:30 | call to operator checked / | I3<T>.checked /(T, T) |
483488
| ViableCallable.cs:569:9:569:15 | call to method M11 | C20.M11() |
484489
| ViableCallable.cs:572:9:572:15 | call to method M12 | C20.M12() |

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -541,13 +541,13 @@ public void M12() { }
541541

542542
void Run<T>(T c) where T : I3<T>
543543
{
544-
// Viable callables: C20.op_Addition(). MISSING: C20.op_Addition()
544+
// Viable callables: C20.op_Addition()
545545
var c1 = c + c;
546546

547-
// Viable callables: C20.op_CheckedAddition(). MISSING: C20.op_CheckedAddition()
547+
// Viable callables: C20.op_CheckedAddition()
548548
var c2 = checked(c + c);
549549

550-
// Viable callables: C20.op_Subtraction(). Missing: C20.op_Subtraction()
550+
// Viable callables: C20.op_Subtraction()
551551
var c3 = c - c;
552552

553553
// Viable callables: I3<C20>.op_CheckedSubtraction().
@@ -559,10 +559,10 @@ void Run<T>(T c) where T : I3<T>
559559
// Viable callables: I3<C20>.op_CheckedMultiply().
560560
var c6 = checked(c * c);
561561

562-
// Viable callables: {C20,I3<C20>}.op_Division(). MISSING: C20.op_Division()
562+
// Viable callables: {C20,I3<C20>}.op_Division()
563563
var c7 = c / c;
564564

565-
// Viable callables: {C20,I3<C20>}.op_CheckedDivision(). MISSING: C20.op_CheckedDivision()
565+
// Viable callables: {C20,I3<C20>}.op_CheckedDivision()
566566
var c8 = checked(c / c);
567567

568568
// Viable callables: C20.M11.

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,15 @@
272272
| ViableCallable.cs:498:26:498:30 | call to operator checked + | checked + | C19 |
273273
| ViableCallable.cs:501:18:501:23 | call to operator explicit conversion | explicit conversion | C19 |
274274
| ViableCallable.cs:504:26:504:31 | call to operator checked explicit conversion | checked explicit conversion | C19 |
275+
| ViableCallable.cs:545:18:545:22 | call to operator + | + | C20 |
276+
| ViableCallable.cs:548:26:548:30 | call to operator checked + | checked + | C20 |
277+
| ViableCallable.cs:551:18:551:22 | call to operator - | - | C20 |
275278
| ViableCallable.cs:554:26:554:30 | call to operator checked - | checked - | I3<> |
276279
| ViableCallable.cs:557:18:557:22 | call to operator * | * | I3<> |
277280
| ViableCallable.cs:560:26:560:30 | call to operator checked * | checked * | I3<> |
281+
| ViableCallable.cs:563:18:563:22 | call to operator / | / | C20 |
278282
| ViableCallable.cs:563:18:563:22 | call to operator / | / | I3<> |
283+
| ViableCallable.cs:566:26:566:30 | call to operator checked / | checked / | C20 |
279284
| ViableCallable.cs:566:26:566:30 | call to operator checked / | checked / | I3<> |
280285
| ViableCallable.cs:569:9:569:15 | call to method M11 | M11 | C20 |
281286
| ViableCallable.cs:572:9:572:15 | call to method M12 | M12 | C20 |

0 commit comments

Comments
 (0)