@@ -1559,7 +1559,7 @@ public virtual async Task Select_navigation_with_concat_and_count(bool async)
1559
1559
ss => ss . Set < Gear > ( ) . Where ( g => ! g . HasSoulPatch ) . Select ( g => g . Weapons . Concat ( g . Weapons ) . Count ( ) ) ) ) ) . Message ;
1560
1560
1561
1561
Assert . Equal (
1562
- CoreStrings . QueryFailed (
1562
+ CoreStrings . TranslationFailed (
1563
1563
@"(MaterializeCollectionNavigation(
1564
1564
navigation: Navigation: Gear.Weapons,
1565
1565
subquery: (NavigationExpansionExpression
@@ -1588,7 +1588,7 @@ public virtual async Task Select_navigation_with_concat_and_count(bool async)
1588
1588
Value: (EntityReference: Gear)
1589
1589
Expression: g), ""FullName"") != null && EF.Property<string>((NavigationTreeExpression
1590
1590
Value: (EntityReference: Gear)
1591
- Expression: g), ""FullName"") == EF.Property<string>(i, ""OwnerFullName""))))" , "NavigationExpandingExpressionVisitor" ) ,
1591
+ Expression: g), ""FullName"") == EF.Property<string>(i, ""OwnerFullName""))))" ) ,
1592
1592
message , ignoreLineEndingDifferences : true ) ;
1593
1593
}
1594
1594
@@ -1602,7 +1602,7 @@ public virtual async Task Concat_with_collection_navigations(bool async)
1602
1602
ss => ss . Set < Gear > ( ) . Where ( g => g . HasSoulPatch ) . Select ( g => g . Weapons . Union ( g . Weapons ) . Count ( ) ) ) ) ) . Message ;
1603
1603
1604
1604
Assert . Equal (
1605
- CoreStrings . QueryFailed (
1605
+ CoreStrings . TranslationFailed (
1606
1606
@"(MaterializeCollectionNavigation(
1607
1607
navigation: Navigation: Gear.Weapons,
1608
1608
subquery: (NavigationExpansionExpression
@@ -1631,7 +1631,7 @@ public virtual async Task Concat_with_collection_navigations(bool async)
1631
1631
Value: (EntityReference: Gear)
1632
1632
Expression: g), ""FullName"") != null && EF.Property<string>((NavigationTreeExpression
1633
1633
Value: (EntityReference: Gear)
1634
- Expression: g), ""FullName"") == EF.Property<string>(i, ""OwnerFullName""))))" , "NavigationExpandingExpressionVisitor" ) ,
1634
+ Expression: g), ""FullName"") == EF.Property<string>(i, ""OwnerFullName""))))" ) ,
1635
1635
message , ignoreLineEndingDifferences : true ) ;
1636
1636
}
1637
1637
@@ -3106,19 +3106,15 @@ orderby FavoriteWeapon(g.Weapons).Name descending
3106
3106
3107
3107
[ ConditionalTheory ]
3108
3108
[ MemberData ( nameof ( IsAsyncData ) ) ]
3109
- public virtual async Task Client_method_on_collection_navigation_in_additional_from_clause ( bool async )
3109
+ public virtual Task Client_method_on_collection_navigation_in_additional_from_clause ( bool async )
3110
3110
{
3111
- var message = ( await Assert . ThrowsAsync < InvalidOperationException > (
3111
+ return AssertTranslationFailed (
3112
3112
( ) => AssertQuery (
3113
3113
async ,
3114
3114
ss => from g in ss . Set < Gear > ( ) . OfType < Officer > ( )
3115
3115
from v in Veterans ( g . Reports )
3116
3116
select new { g = g . Nickname , v = v . Nickname } ,
3117
- elementSorter : e => e . g + e . v ) ) ) . Message ;
3118
-
3119
- Assert . StartsWith (
3120
- CoreStrings . QueryFailed ( "" , "" ) . Substring ( 0 , 35 ) ,
3121
- message ) ;
3117
+ elementSorter : e => e . g + e . v ) ) ;
3122
3118
}
3123
3119
3124
3120
[ ConditionalTheory ( Skip = "Issue #17328" ) ]
@@ -7397,7 +7393,7 @@ public virtual Task OrderBy_bool_coming_from_optional_navigation(bool async)
7397
7393
ss => ss. Set < Weapon > ( ) . Select ( w => w . SynergyWith ) . OrderBy ( g => MaybeScalar < bool > ( g , ( ) => g . IsAutomatic ) ) ,
7398
7394
assertOrder: true) ;
7399
7395
}
7400
-
7396
+
7401
7397
[ ConditionalFact ]
7402
7398
public virtual void Byte_array_filter_by_length_parameter_compiled ( )
7403
7399
{
0 commit comments