Ast.BlockStatement TransformBlock(ILBlock block) { Ast.BlockStatement astBlock = new BlockStatement(); if (block != null) { foreach(ILNode node in block.Body) { astBlock.AddStatements(TransformNode(node)); } } return astBlock; }