public PEAPI.HandlerBlock Resolve(CodeGen code_gen, MethodDef method) { PEAPI.CILLabel from = handler_block.GetFromLabel(code_gen, method); PEAPI.CILLabel to = handler_block.GetToLabel(code_gen, method); PEAPI.Catch katch; type_ref.Resolve(code_gen); katch = new PEAPI.Catch(type_ref.PeapiType, from, to); return(katch); }
public PEAPI.HandlerBlock Resolve (CodeGen code_gen, MethodDef method) { PEAPI.CILLabel from = handler_block.GetFromLabel (code_gen, method); PEAPI.CILLabel to = handler_block.GetToLabel (code_gen, method); PEAPI.Catch katch; type_ref.Resolve (code_gen); katch = new PEAPI.Catch (type_ref.PeapiType, from, to); return katch; }