Esempio n. 1
0
        void ImportCache()
        {
            if (m_cacheLoaded)
            {
                return;
            }

            m_module.FullLoad();

            foreach (AssemblyNameReference ar in m_module.AssemblyReferences)
            {
                m_asmCache [ar.FullName] = ar;
            }
            foreach (MemberReference member in m_module.MemberReferences)
            {
                m_memberRefCache [member.ToString()] = member;
            }

            m_cacheLoaded = true;
        }
Esempio n. 2
0
 public override void VisitModuleDefinition(ModuleDefinition mod)
 {
     mod.FullLoad ();
 }