Пример #1
0
        unsafe void InitClassLayout_NoLock()
        {
            var  mdi   = readerModule.MetaDataImport;
            uint token = OriginalToken.Raw;

            bool b = MDAPI.GetClassLayout(mdi, token, out ushort packingSize, out uint classSize);

            if (!b)
            {
                ClassLayout = null;
            }
            else
            {
                ClassLayout = readerModule.UpdateRowId(new ClassLayoutUser(packingSize, classSize));
            }
        }