Open RubberChickenParadise opened 4 years ago
in MRE.cs approx line 346, BuildExpr fails to pass useTryCatch causing complex nested rules to use the incorrect (when useTryCatch = false) values.
MRE.cs
BuildExpr
useTryCatch
useTryCatch = false
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); }
in
MRE.cs
approx line 346,BuildExpr
fails to passuseTryCatch
causing complex nested rules to use the incorrect (whenuseTryCatch = false
) values.