Ejemplo n.º 1
0
        void InitNameAndAttrs_NoLock()
        {
            var  mdai  = readerModule.MetaDataAssemblyImport;
            uint token = OriginalToken.Raw;

            Utils.SplitNameAndNamespace(null, MDAPI.GetExportedTypeName(mdai, token), out var ns, out var name);
            TypeName      = name;
            TypeNamespace = ns;

            MDAPI.GetExportedTypeProps(mdai, token, out implementation, out typeDefId, out var attrs);
            attributes = (int)attrs;
        }