This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Description
Using a local/static/instance variable collection for a Contains call in a Where expression works, but constructing a literal array within the expression does not work. The implementation will be complicated by the possibility that the array is not constant, but includes an item from the expression input.
Test case:
|
[Fact(Skip = "TODO: Not Supported")] |
|
public override void Where_LiteralArray_Contains() { |
|
} |
Expected:
Both obj => (new[] { 1, 2, 3 }).Contains(obj.Field) and obj => (new[] { obj.Field1, obj.Field2, obj.Field3 }).Contains(1) should be functional.