コード例 #1
0
        void InitNameAndAttrs_NoLock()
        {
            var  mdai  = readerModule.MetaDataAssemblyImport;
            uint token = OriginalToken.Raw;

            Name = MDAPI.GetManifestResourceName(mdai, token) ?? string.Empty;
            MDAPI.GetManifestResourceProps(mdai, token, out offset, out uint implementation, out var attrs);
            attributes          = (int)attrs;
            this.implementation = readerModule.ResolveToken(implementation) as IImplementation;
        }