static void ValidateFunctionName(string func) { if (FunctionExpression.GetFunctionByName(func) == null) { throw new FieldExpressionException($"The function name '{func}' not supported."); } }