diff --git a/csharp/ql/test/library-tests/dispatch/GetADynamicTarget.expected b/csharp/ql/test/library-tests/dispatch/GetADynamicTarget.expected index 12d06e4f9c33..8849a785a1cb 100644 --- a/csharp/ql/test/library-tests/dispatch/GetADynamicTarget.expected +++ b/csharp/ql/test/library-tests/dispatch/GetADynamicTarget.expected @@ -335,6 +335,10 @@ | ViableCallable.cs:148:13:148:22 | call to method Mock | ViableCallable.Mock() | | ViableCallable.cs:149:9:149:14 | dynamic call to method M5 | C8.M5(params IEnumerable) | | ViableCallable.cs:149:9:149:14 | dynamic call to method M5 | C9`1.M5(params IEnumerable) | +| ViableCallable.cs:150:9:150:15 | dynamic call to method M5 | C8.M5(params IEnumerable) | +| ViableCallable.cs:150:9:150:15 | dynamic call to method M5 | C9`1.M5(params IEnumerable) | +| ViableCallable.cs:151:9:151:20 | dynamic call to method M5 | C8.M5(params IEnumerable) | +| ViableCallable.cs:151:9:151:20 | dynamic call to method M5 | C9`1.M5(params IEnumerable) | | ViableCallable.cs:154:9:154:16 | dynamic call to method M3 | C8.M3(params Double[]) | | ViableCallable.cs:154:9:154:16 | dynamic call to method M3 | C9`1.M3(params T[]) | | ViableCallable.cs:154:9:154:16 | dynamic call to method M3 | C10.M3(params Double[]) | @@ -349,6 +353,12 @@ | ViableCallable.cs:158:9:158:16 | dynamic call to method M5 | C8.M5(params IEnumerable) | | ViableCallable.cs:158:9:158:16 | dynamic call to method M5 | C9`1.M5(params IEnumerable) | | ViableCallable.cs:158:9:158:16 | dynamic call to method M5 | C10.M5(params IEnumerable) | +| ViableCallable.cs:159:9:159:17 | dynamic call to method M5 | C8.M5(params IEnumerable) | +| ViableCallable.cs:159:9:159:17 | dynamic call to method M5 | C9`1.M5(params IEnumerable) | +| ViableCallable.cs:159:9:159:17 | dynamic call to method M5 | C10.M5(params IEnumerable) | +| ViableCallable.cs:160:9:160:22 | dynamic call to method M5 | C8.M5(params IEnumerable) | +| ViableCallable.cs:160:9:160:22 | dynamic call to method M5 | C9`1.M5(params IEnumerable) | +| ViableCallable.cs:160:9:160:22 | dynamic call to method M5 | C10.M5(params IEnumerable) | | ViableCallable.cs:162:9:162:17 | dynamic access to member Prop1 | C8.set_Prop1(string) | | ViableCallable.cs:162:9:162:17 | dynamic access to member Prop1 | C9`1.set_Prop1(string) | | ViableCallable.cs:162:9:162:17 | dynamic access to member Prop1 | C10.set_Prop1(bool) | diff --git a/csharp/ql/test/library-tests/dispatch/ViableCallable.cs b/csharp/ql/test/library-tests/dispatch/ViableCallable.cs index 96317cdafbbf..55a67b69e0d6 100644 --- a/csharp/ql/test/library-tests/dispatch/ViableCallable.cs +++ b/csharp/ql/test/library-tests/dispatch/ViableCallable.cs @@ -147,8 +147,8 @@ public void Run(C1 x1, C1 x2, dynamic dyn, T3 t3) // Viable callables: C8.M5(), C9.M5() d = Mock(); d.M5(); - d.M5(0); // MISSING DYNAMIC TARGET - d.M5(0, 0.0); // MISSING DYNAMIC TARGET + d.M5(0); + d.M5(0, 0.0); // Viable callables: {C8,C9,C10}.M3() dyn.M3(); @@ -156,8 +156,8 @@ public void Run(C1 x1, C1 x2, dynamic dyn, T3 t3) dyn.M3(0, 0.0); // Viable callables: {C8,C9,C10}.M5() dyn.M5(); - dyn.M5(0); // MISSING DYNAMIC TARGET - dyn.M5(0, 0.0); // MISSING DYNAMIC TARGET + dyn.M5(0); + dyn.M5(0, 0.0); // Viable callables: {C8,C9,C10}.{get_Prop1(),set_Prop1()} dyn.Prop1 = dyn.Prop1; // Viable callables: {C2,C3,C6,C7,C8,C9,C10}.{get_Item(),set_Item()} diff --git a/csharp/ql/test/library-tests/dispatch/viableCallable.expected b/csharp/ql/test/library-tests/dispatch/viableCallable.expected index 1f8527131c0e..8a499a3769cd 100644 --- a/csharp/ql/test/library-tests/dispatch/viableCallable.expected +++ b/csharp/ql/test/library-tests/dispatch/viableCallable.expected @@ -164,6 +164,10 @@ | ViableCallable.cs:145:9:145:20 | dynamic call to method M3 | M3 | C9`1 | | ViableCallable.cs:149:9:149:14 | dynamic call to method M5 | M5 | C8 | | ViableCallable.cs:149:9:149:14 | dynamic call to method M5 | M5 | C9`1 | +| ViableCallable.cs:150:9:150:15 | dynamic call to method M5 | M5 | C8 | +| ViableCallable.cs:150:9:150:15 | dynamic call to method M5 | M5 | C9`1 | +| ViableCallable.cs:151:9:151:20 | dynamic call to method M5 | M5 | C8 | +| ViableCallable.cs:151:9:151:20 | dynamic call to method M5 | M5 | C9`1 | | ViableCallable.cs:154:9:154:16 | dynamic call to method M3 | M3 | C8 | | ViableCallable.cs:154:9:154:16 | dynamic call to method M3 | M3 | C9`1 | | ViableCallable.cs:154:9:154:16 | dynamic call to method M3 | M3 | C10 | @@ -176,6 +180,12 @@ | ViableCallable.cs:158:9:158:16 | dynamic call to method M5 | M5 | C8 | | ViableCallable.cs:158:9:158:16 | dynamic call to method M5 | M5 | C9`1 | | ViableCallable.cs:158:9:158:16 | dynamic call to method M5 | M5 | C10 | +| ViableCallable.cs:159:9:159:17 | dynamic call to method M5 | M5 | C8 | +| ViableCallable.cs:159:9:159:17 | dynamic call to method M5 | M5 | C9`1 | +| ViableCallable.cs:159:9:159:17 | dynamic call to method M5 | M5 | C10 | +| ViableCallable.cs:160:9:160:22 | dynamic call to method M5 | M5 | C8 | +| ViableCallable.cs:160:9:160:22 | dynamic call to method M5 | M5 | C9`1 | +| ViableCallable.cs:160:9:160:22 | dynamic call to method M5 | M5 | C10 | | ViableCallable.cs:162:9:162:17 | dynamic access to member Prop1 | set_Prop1 | C8 | | ViableCallable.cs:162:9:162:17 | dynamic access to member Prop1 | set_Prop1 | C9`1 | | ViableCallable.cs:162:9:162:17 | dynamic access to member Prop1 | set_Prop1 | C10 |