Skip to content

Commit

Permalink
InMemory: Skip over AsSingleQuery method
Browse files Browse the repository at this point in the history
Resolves #23759
  • Loading branch information
smitpatel committed Jan 5, 2021
1 parent 6213a10 commit e326990
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ protected override Expression VisitMethodCall(MethodCallExpression methodCallExp
if (methodCallExpression.Method.IsGenericMethod
&& methodCallExpression.Arguments.Count == 1
&& methodCallExpression.Arguments[0].Type.TryGetSequenceType() != null
&& string.Equals(methodCallExpression.Method.Name, "AsSplitQuery", StringComparison.Ordinal))
&& (string.Equals(methodCallExpression.Method.Name, "AsSplitQuery", StringComparison.Ordinal)
|| string.Equals(methodCallExpression.Method.Name, "AsSingleQuery", StringComparison.Ordinal)))
{
return Visit(methodCallExpression.Arguments[0]);
}
Expand Down

0 comments on commit e326990

Please sign in to comment.