2 // Mono.ILASM.HandlerBlock
5 // Jackson Harper (Jackson@LatitudeGeo.com)
7 // (C) 2003 Jackson Harper (Jackson@LatitudeGeo.com)
13 namespace Mono.ILASM {
15 public class HandlerBlock {
17 private LabelInfo from_label;
18 private LabelInfo to_label;
20 public HandlerBlock (LabelInfo from_label, LabelInfo to_label)
22 this.from_label = from_label;
23 this.to_label = to_label;
26 public PEAPI.CILLabel GetFromLabel (CodeGen code_gen, MethodDef method)
28 return from_label.Label;
31 public PEAPI.CILLabel GetToLabel (CodeGen code_gen, MethodDef method)
33 return to_label.Label;