예제 #1
0
파일: linq.cs 프로젝트: HusterYP/VimConf
        protected override void CloneTo(CloneContext clonectx, Expression target)
        {
            base.CloneTo(clonectx, target);

            AQueryClause t = (AQueryClause)target;

            if (block != null)
            {
                t.block = (QueryBlock)clonectx.LookupBlock(block);
            }

            if (next != null)
            {
                t.next = (AQueryClause)next.Clone(clonectx);
            }
        }
예제 #2
0
파일: linq.cs 프로젝트: alisci01/mono
		protected override void CloneTo (CloneContext clonectx, Expression target)
		{
			base.CloneTo (clonectx, target);

			AQueryClause t = (AQueryClause) target;

			if (block != null)
				t.block = (QueryBlock) clonectx.LookupBlock (block);

			if (next != null)
				t.next = (AQueryClause) next.Clone (clonectx);
		}
예제 #3
0
		protected override void CloneTo (CloneContext clonectx, Expression t)
		{
			AnonymousMethodExpression target = (AnonymousMethodExpression) t;

			target.Block = (ParametersBlock) clonectx.LookupBlock (Block);
		}