public static PartialEvaluationInfo Analyze (Expression expressionTree)
    {
      ArgumentUtility.CheckNotNull ("expressionTree", expressionTree);

      var visitor = new EvaluatableTreeFindingExpressionTreeVisitor();
      visitor.VisitExpression (expressionTree);
      return visitor._partialEvaluationInfo;
    }
Ejemplo n.º 2
0
        public static PartialEvaluationInfo Analyze(Expression expressionTree)
        {
            ArgumentUtility.CheckNotNull("expressionTree", expressionTree);

            var visitor = new EvaluatableTreeFindingExpressionTreeVisitor();

            visitor.VisitExpression(expressionTree);
            return(visitor._partialEvaluationInfo);
        }