Boo.Lang.Compiler.Ast.Statement.ReplaceBy C# (CSharp) Метод

ReplaceBy() публичный Метод

public ReplaceBy ( Statement other ) : void
other Statement
Результат void
        public void ReplaceBy(Statement other)
        {
            Block block = (Block)ParentNode;
            if (null == block)
            {
                throw new InvalidOperationException();
            }

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