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

            this.Flags     = MDAPI.GetFileAttributes(mdai, token) ?? 0;
            this.Name      = MDAPI.GetFileName(mdai, token) ?? string.Empty;
            this.HashValue = MDAPI.GetFileHash(mdai, token) ?? Array.Empty <byte>();
        }