Mono.CSharp.For.CloneTo C# (CSharp) Method

CloneTo() protected method

protected CloneTo ( CloneContext clonectx, Statement t ) : void
clonectx CloneContext
t Statement
return void
		protected override void CloneTo (CloneContext clonectx, Statement t)
		{
			For target = (For) t;

			if (InitStatement != null)
				target.InitStatement = InitStatement.Clone (clonectx);
			if (Test != null)
				target.Test = Test.Clone (clonectx);
			if (Increment != null)
				target.Increment = Increment.Clone (clonectx);
			target.Statement = Statement.Clone (clonectx);
		}
	}