Boo.Lang.Compiler.Ast.Statement.ReplaceBy C# (CSharp) Méthode

ReplaceBy() public méthode

public ReplaceBy ( Statement other ) : void
other Statement
Résultat void
        public void ReplaceBy(Statement other)
        {
            Block block = (Block)ParentNode;
            if (null == block)
            {
                throw new InvalidOperationException();
            }

            block.Statements.Replace(this, other);
        }