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

      var visitor = new EvaluatableTreeFindingExpressionTreeVisitor();
      visitor.VisitExpression (expressionTree);
      return visitor._partialEvaluationInfo;
    }
コード例 #2
0
        public static PartialEvaluationInfo Analyze(Expression expressionTree)
        {
            ArgumentUtility.CheckNotNull("expressionTree", expressionTree);

            var visitor = new EvaluatableTreeFindingExpressionTreeVisitor();

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