Fix: EF Core `Contains` on a static readonly `IList<T>` or `ISet<T>` could not be translated
EF Core 8, 9 and 10 fail to translate Contains when the list is a static readonly field typed as IList, ICollection, ISet or IReadOnlySet. Call Enumerable.Contains explicitly, or upgrade to EF Core 11.