@@ -67,36 +67,39 @@ public override async Task Contains_with_local_uint_array_closure(bool async)
6767""" ) ;
6868 }
6969
70- public override async Task Contains_with_local_nullable_uint_array_closure ( bool async )
71- {
72- await base . Contains_with_local_nullable_uint_array_closure ( async) ;
73-
74- // Note: PostgreSQL doesn't support uint, but value converters make this into bigint
75-
76- AssertSql (
77- """
78- @ids={ '0', '1' } (DbType = Object)
79-
80- SELECT e."EmployeeID", e."City", e."Country", e."FirstName", e."ReportsTo", e."Title"
81- FROM "Employees" AS e
82- WHERE e."EmployeeID" = ANY (@ids)
83- """ ,
84- //
85- """
86- @ids={ '0' } (DbType = Object)
87-
88- SELECT e."EmployeeID", e."City", e."Country", e."FirstName", e."ReportsTo", e."Title"
89- FROM "Employees" AS e
90- WHERE e."EmployeeID" = ANY (@ids)
91- """ ) ;
92- }
93-
94- public override Task Contains_with_local_anonymous_type_array_closure ( bool async )
95- // Aggregates. Issue #15937.
96- => AssertTranslationFailed ( ( ) => base . Contains_with_local_anonymous_type_array_closure ( async) ) ;
97-
98- public override Task Contains_with_local_tuple_array_closure ( bool async )
99- => Assert . ThrowsAsync < InvalidCastException > ( ( ) => base . Contains_with_local_tuple_array_closure ( async: true ) ) ;
70+ // TODO: The base implementations no longer compile since https://github.com/dotnet/runtime/pull/110197 (Contains overload added with
71+ // optional parameter, not supported in expression trees). #35547 is tracking on the EF side.
72+ //
73+ // public override async Task Contains_with_local_nullable_uint_array_closure(bool async)
74+ // {
75+ // await base.Contains_with_local_nullable_uint_array_closure(async);
76+ //
77+ // // Note: PostgreSQL doesn't support uint, but value converters make this into bigint
78+ //
79+ // AssertSql(
80+ // """
81+ // @ids={ '0', '1' } (DbType = Object)
82+ //
83+ // SELECT e."EmployeeID", e."City", e."Country", e."FirstName", e."ReportsTo", e."Title"
84+ // FROM "Employees" AS e
85+ // WHERE e."EmployeeID" = ANY (@ids)
86+ // """,
87+ // //
88+ // """
89+ // @ids={ '0' } (DbType = Object)
90+ //
91+ // SELECT e."EmployeeID", e."City", e."Country", e."FirstName", e."ReportsTo", e."Title"
92+ // FROM "Employees" AS e
93+ // WHERE e."EmployeeID" = ANY (@ids)
94+ // """);
95+ // }
96+ //
97+ // public override Task Contains_with_local_anonymous_type_array_closure(bool async)
98+ // // Aggregates. Issue #15937.
99+ // => AssertTranslationFailed(() => base.Contains_with_local_anonymous_type_array_closure(async));
100+ //
101+ // public override Task Contains_with_local_tuple_array_closure(bool async)
102+ // => Assert.ThrowsAsync<InvalidCastException>(() => base.Contains_with_local_tuple_array_closure(async: true));
100103
101104 public override async Task Contains_with_local_enumerable_inline ( bool async )
102105 {
0 commit comments