public static Expression AnalyzeConsExpr(SymplConsExpr expr, AnalysisScope scope) { var mi = typeof(RuntimeHelpers).GetMethod("MakeCons"); return(Expression.Call(mi, Expression.Convert( AnalyzeExpr(expr.Left, scope), typeof(object)), Expression.Convert( AnalyzeExpr(expr.Right, scope), typeof(object)))); }
public static Expression AnalyzeConsExpr (SymplConsExpr expr, AnalysisScope scope) { var mi = typeof(RuntimeHelpers).GetMethod("MakeCons"); return Expression.Call(mi, Expression.Convert( AnalyzeExpr(expr.Left, scope), typeof(object)), Expression.Convert( AnalyzeExpr(expr.Right, scope), typeof(object))); }