Пример #1
0
        protected override void ReadHandlers(TagRepository rpa, CatalogReader catalog, HighMethodBodyParseContext methodBody, CodeLocationTag baseLocation, bool haveDebugInfo, BinaryReader reader)
        {
            uint numCatchHandlers = reader.ReadUInt32();
            m_catchHandlers = new HighCatchHandler[numCatchHandlers];

            for (uint i = 0; i < numCatchHandlers; i++)
            {
                HighCatchHandler hdl = new HighCatchHandler();
                hdl.Read(rpa, catalog, methodBody, baseLocation, haveDebugInfo, reader);
                m_catchHandlers[i] = hdl;
            }
        }
Пример #2
0
 public HighTryCatchRegion(HighRegion tryRegion, HighCatchHandler[] catchHandlers)
     : base(tryRegion)
 {
     m_catchHandlers = catchHandlers;
 }