コード例 #1
0
        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.Finally  phinally = new PEAPI.Finally(from, to);

            return(phinally);
        }
コード例 #2
0
ファイル: FinallyBlock.cs プロジェクト: nobled/mono
                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.Finally phinally = new PEAPI.Finally (from, to);

                        return phinally;
                }