예제 #1
0
        internal override Tile <T_Query> Replace(Tile <T_Query> oldTile, Tile <T_Query> newTile)
        {
            Tile <T_Query> newArg1 = Arg1.Replace(oldTile, newTile);
            Tile <T_Query> newArg2 = Arg2.Replace(oldTile, newTile);

            if (newArg1 != Arg1 || newArg2 != Arg2)
            {
                return(new TileBinaryOperator <T_Query>(newArg1, newArg2, OpKind, Query));
            }
            return(this);
        }