2 // Mono.ILASM.FaultBlock
5 // Jackson Harper (Jackson@LatitudeGeo.com)
7 // (C) 2003 Jackson Harper, All rights reserved
13 namespace Mono.ILASM {
15 public class FaultBlock : ISehClause {
17 private HandlerBlock handler_block;
24 public void SetHandlerBlock (HandlerBlock hb)
29 public PEAPI.HandlerBlock Resolve (CodeGen code_gen, MethodDef method)
31 PEAPI.CILLabel from = handler_block.GetFromLabel (code_gen, method);
32 PEAPI.CILLabel to = handler_block.GetToLabel (code_gen, method);
33 PEAPI.Fault fault = new PEAPI.Fault (from, to);