Skip to content

Commit

Permalink
align code
Browse files Browse the repository at this point in the history
  • Loading branch information
bjelbo committed Dec 20, 2024
1 parent 126c39b commit 3189578
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -754,12 +754,12 @@ protected virtual Expression BindCustomMethodExpressionOrNull(SingleValueFunctio
Expression[] arguments = BindArguments(node.Parameters, context);
IEnumerable<Type> methodArgumentsType = arguments.Select(argument => argument.Type);

// Search for custom method info that are binded to the node name
MethodInfo methodInfo;
if (UriFunctionsBinder.TryGetMethodInfo(node.Name, methodArgumentsType, out methodInfo))
{
return ExpressionBinderHelper.MakeCustomFunctionCall(methodInfo, arguments);
}
// Search for custom method info that are binded to the node name
MethodInfo methodInfo;
if (UriFunctionsBinder.TryGetMethodInfo(node.Name, methodArgumentsType, out methodInfo))
{
return ExpressionBinderHelper.MakeCustomFunctionCall(methodInfo, arguments);
}

return null;
}
Expand Down

0 comments on commit 3189578

Please sign in to comment.