protected override void PopulateStatement(TextWriter trapFile) { var child = 1; foreach (var c in Stmt.Catches) { Catch.Create(Context, c, this, child++); } Create(Context, Stmt.Block, this, 0); if (Stmt.Finally is not null) { Create(Context, Stmt.Finally.Block, this, -1); } }
protected override void Populate() { var child = 1; foreach (var c in Stmt.Catches) { Catch.Create(cx, c, this, child++); } Create(cx, Stmt.Block, this, 0); if (Stmt.Finally != null) { Create(cx, Stmt.Finally.Block, this, -1); } }