Example #1
0
        protected override void Initialize(LambdaExpression expression)
        {
#if !WINDOWS_PHONE7
            this.Parameters = new ExpressionNodeList(this.Factory, expression.Parameters);
#else
            this.Parameters = new ExpressionNodeList(this.Factory, expression.Parameters.Select(p => (Expression)p));
#endif
            this.Body = this.Factory.Create(expression.Body);
        }
 protected override void Initialize(NewArrayExpression expression)
 {
     this.Expressions = new ExpressionNodeList(this.Factory, expression.Expressions);
 }