Skip to content

Commit eaa59e3

Browse files
committed
.
1 parent 7874412 commit eaa59e3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2173,11 +2173,7 @@ private bool TryParseEnumerable(Expression instance, Type enumerableType, string
21732173
}
21742174
else
21752175
{
2176-
if (new[] { "Concat", "Contains", "ContainsKey", "DefaultIfEmpty", "Except", "Intersect", "Skip", "Take", "Union" }.Contains(methodName))
2177-
{
2178-
args = [instance, args[0]];
2179-
}
2180-
else if (methodName == nameof(Enumerable.SequenceEqual))
2176+
if (new[] { "Concat", "Contains", "ContainsKey", "DefaultIfEmpty", "Except", "Intersect", "Skip", "Take", "Union", "SequenceEqual" }.Contains(methodName))
21812177
{
21822178
args = [instance, args[0]];
21832179
}

0 commit comments

Comments
 (0)