public void VisitBlock(CilAstBlock block) { foreach (var statement in block.Statements) { statement.AcceptVisitor(this); } }
public virtual bool VisitBlock(CilAstBlock block) { bool changed = false; foreach (var statement in block.Statements) { changed |= statement.AcceptVisitor(this); } return(changed); }
public IList <CilInstruction> VisitBlock(CilAstBlock block) { var result = new List <CilInstruction>(); result.Add(block.BlockHeader); foreach (var statement in block.Statements) { result.AddRange(statement.AcceptVisitor(this)); } return(result); }
public string VisitBlock(CilAstBlock block) => "block";