public override Expression CloneExpressionOnly()
 {
     ThisCtorExpression result = new ThisCtorExpression(this.MethodExpression.CloneExpressionOnly() as MethodReferenceExpression, instructions)
         { Arguments = this.Arguments.CloneExpressionsOnly(), VirtualCall = this.VirtualCall,
             InstanceReference = this.InstanceReference != null ? this.InstanceReference.CloneExpressionOnly() : null };
     return result;
 }
        public override ICodeNode VisitThisCtorExpression(ThisCtorExpression node)
        {
            base.VisitThisCtorExpression(node);

            FixArguments(node.MethodExpression.Method, node.Arguments);

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

            return(result);
        }
 public override Expression CloneExpressionOnly()
 {
     stackVariable6 = new ThisCtorExpression(this.get_MethodExpression().CloneExpressionOnly() as MethodReferenceExpression, this.instructions);
     stackVariable6.set_Arguments(this.get_Arguments().CloneExpressionsOnly());
     stackVariable6.set_VirtualCall(this.get_VirtualCall());
     if (this.get_InstanceReference() != null)
     {
         stackVariable16 = this.get_InstanceReference().CloneExpressionOnly();
     }
     else
     {
         stackVariable16 = null;
     }
     stackVariable6.set_InstanceReference(stackVariable16);
     return(stackVariable6);
 }
		public override ICodeNode VisitThisCtorExpression(ThisCtorExpression node)
		{
			node = (ThisCtorExpression)base.VisitThisCtorExpression(node);
			VisitInvocationArguments(node.Arguments, node.MethodExpression.Method);
			return node;
		}
		public override void VisitThisCtorExpression(ThisCtorExpression node)
		{
			base.VisitThisCtorExpression(node);
			var method = node.MethodExpression.Method;
			if (node.Arguments.Count > 0)
			{
				FixArguments(method, node.Arguments);
			}
		}
		public override void VisitThisCtorExpression(ThisCtorExpression node)
		{
			base.VisitThisCtorExpression(node);

			CastMethodArguments(node.MethodExpression.Method, node.Arguments);
		}
		public override void VisitThisCtorExpression(ThisCtorExpression node)
		{
			Visit(node.Arguments);
		}
 public override void VisitThisCtorExpression(ThisCtorExpression node)
 {
     VisitCtorExpression(node, "MyClass");
 }
		public override void VisitThisCtorExpression(ThisCtorExpression node)
		{
			base.VisitThisCtorExpression(node);
			MethodReference thisCtor = node.MethodExpression.Method;
			TraverseMethodParameters(thisCtor, node.Arguments);
		}
 public virtual void VisitThisCtorExpression(ThisCtorExpression node)
 {
     Visit(node.Arguments);
 }
 public override void VisitThisCtorExpression(ThisCtorExpression node)
 {
     if (state == SearchState.Propagation)
     {
         canBePropagated = false;
         return;
     }
     base.VisitThisCtorExpression(node);
 }
 public override ICodeNode VisitThisCtorExpression(ThisCtorExpression node)
 {
     node.InstanceReference = (Expression)Visit(node.InstanceReference);
     return base.VisitThisCtorExpression(node);
 }