コード例 #1
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);
 }
コード例 #2
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);
 }