public override Expression CloneExpressionOnly()
        {
            BaseCtorExpression result = new BaseCtorExpression(this.MethodExpression.CloneExpressionOnly() as MethodReferenceExpression, null)
            {
                Arguments         = this.Arguments.CloneExpressionsOnly(), VirtualCall = this.VirtualCall,
                InstanceReference = this.InstanceReference != null?this.InstanceReference.CloneExpressionOnly() : null
            };

            return(result);
        }
        public override Expression Clone()
        {
            BaseCtorExpression result = new BaseCtorExpression(this.MethodExpression.Clone() as MethodReferenceExpression, this.instructions);

            result.Arguments         = this.Arguments.Clone();
            result.VirtualCall       = this.VirtualCall;
            result.InstanceReference = this.InstanceReference != null?this.InstanceReference.Clone() : null;

            return(result);
        }
Пример #3
0
 public override Expression CloneExpressionOnly()
 {
     stackVariable5 = new BaseCtorExpression(this.get_MethodExpression().CloneExpressionOnly() as MethodReferenceExpression, null);
     stackVariable5.set_Arguments(this.get_Arguments().CloneExpressionsOnly());
     stackVariable5.set_VirtualCall(this.get_VirtualCall());
     if (this.get_InstanceReference() != null)
     {
         stackVariable15 = this.get_InstanceReference().CloneExpressionOnly();
     }
     else
     {
         stackVariable15 = null;
     }
     stackVariable5.set_InstanceReference(stackVariable15);
     return(stackVariable5);
 }
Пример #4
0
 public override Expression Clone()
 {
     stackVariable6 = new BaseCtorExpression(this.get_MethodExpression().Clone() as MethodReferenceExpression, this.instructions);
     stackVariable6.set_Arguments(this.get_Arguments().Clone());
     stackVariable6.set_VirtualCall(this.get_VirtualCall());
     if (this.get_InstanceReference() != null)
     {
         stackVariable16 = this.get_InstanceReference().Clone();
     }
     else
     {
         stackVariable16 = null;
     }
     stackVariable6.set_InstanceReference(stackVariable16);
     return(stackVariable6);
 }