System.Linq.Dynamic.ExtendedExpressionParser.GenerateMethodCallImpl C# (CSharp) Method

GenerateMethodCallImpl() private method

private GenerateMethodCallImpl ( Type type, Expression instance, int errorPos, string id, Lazy argumentList ) : Maybe
type Type
instance System.Linq.Expressions.Expression
errorPos int
id string
argumentList Lazy
return Maybe
	private Maybe<Expression> GenerateMethodCallImpl(Type type, Expression instance, int errorPos, string id, Lazy<Expression[]> argumentList)
		{
			return base.GenerateMethodCall(type, instance, errorPos, id, argumentList)
				.OrElse(() => ExtensionMethod(instance, id, argumentList, errorPos, prefixed: false))
				.OrElse(() => ExtensionMethod(instance, id, argumentList, errorPos, prefixed: true))
				.OrElse(() => SurrogateExpression(instance, id));
		}