Пример #1
0
        public CorField GetFieldFromToken(uint token)
        {
            var  mdi     = this.GetMetaDataInterface <IMetaDataImport>();
            uint tdToken = 0x02000000 + MDAPI.GetFieldOwnerRid(mdi, token);
            var  cls     = GetClassFromToken(tdToken);

            return(cls == null ? null : new CorField(cls, token));
        }