We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 861f255 commit 3344754Copy full SHA for 3344754
src/LinqTests/Acceptance/child_collection_queries.cs
@@ -32,6 +32,12 @@ static child_collection_queries()
32
@where(x => x.NumberArray.Any());
33
34
@where(x => x.StringArray != null && x.StringArray.Any(c => c.StartsWith("o")));
35
+
36
+ // These permutations come from GH-2401
37
+ @where(x => x.StringArray != null && x.String.Equals("Orange") && x.StringArray.Contains("Red"));
38
+ @where(x => x.StringArray != null && !x.StringArray.Contains("Red") && x.String.Equals("Orange"));
39
+ @where(x => x.StringArray != null && x.String.Equals("Orange") && !x.StringArray.Contains("Red"));
40
+ @where(x => x.StringArray != null && x.String.Equals("Orange") && x.StringArray.Contains("Red") && x.AnotherString.Equals("one"));
41
}
42
43
[Theory]
0 commit comments