-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
in MRE.cs approx line 346, BuildExpr fails to pass useTryCatch causing complex nested rules to use the incorrect (when useTryCatch = false) values.
if (enumrOperation != null)
{
var elementType = ElementType(propType);
var lambdaParam = Expression.Parameter(elementType, "lambdaParam");
return rule.Rules?.Any() == true
? Expression.Call(enumrOperation.MakeGenericMethod(elementType),
propExpression,
Expression.Lambda(
BuildNestedExpression(elementType, rule.Rules, lambdaParam, ExpressionType.AndAlso),
lambdaParam)
)
: Expression.Call(enumrOperation.MakeGenericMethod(elementType), propExpression);
}
Metadata
Metadata
Assignees
Labels
No labels