File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
src/ConductorSharp.Engine/Util Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -36,19 +36,9 @@ private static object ParseExpression(Expression expression)
3636 if ( expression is ConstantExpression cex )
3737 return ParseConstantExpression ( cex ) ;
3838
39- if ( expression is UnaryExpression uex && uex . Operand is ConstantExpression ccex )
40- {
41- var converted = Convert . ToString ( ccex . Value ) ;
42-
43- //if (ccex.Value is bool)
44- // return converted.ToLowerInvariant();
45-
46- return ccex . Value ;
47- }
48-
4939 // Handle boxing
5040 if ( expression is UnaryExpression unaryEx && unaryEx . NodeType == ExpressionType . Convert )
51- return CreateExpressionString ( unaryEx . Operand ) ;
41+ return ParseExpression ( unaryEx . Operand ) ;
5242
5343 if (
5444 expression is MethodCallExpression methodExpression
You can’t perform that action at this time.
0 commit comments