public static string VisitCore(MemberExpression memberExp, IOperatorResolverList lst) { if (memberExp.Expression != null && (memberExp.Expression.NodeType == ExpressionType.Constant || memberExp.Expression.NodeType == ExpressionType.MemberAccess) ) { return(string.Format(" {0} ", memberExp.GetValue().FormatValue())); } if ( memberExp.Expression != null && memberExp.Expression.NodeType == ExpressionType.Parameter) { return(string.Format(" {0} ", memberExp.GetAttribute())); } if (memberExp.Expression == null) { return(string.Format(" {0} ", get_value(memberExp))); } return(""); }