mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixing reification of attributes
This commit is contained in:
parent
14ad1b72fc
commit
622b832858
3 changed files with 28 additions and 19 deletions
|
@ -9791,7 +9791,7 @@ void BfModule::GetCustomAttributes(BfCustomAttributes* customAttributes, BfAttri
|
|||
continue;
|
||||
}
|
||||
|
||||
BfType* attrType = ResolveTypeRef(attributesDirective->mAttributeTypeRef, BfPopulateType_Identity, BfResolveTypeRefFlag_Attribute);
|
||||
BfType* attrType = ResolveTypeRef(attributesDirective->mAttributeTypeRef, BfPopulateType_Identity, (BfResolveTypeRefFlags)(BfResolveTypeRefFlag_Attribute | BfResolveTypeRefFlag_NoReify));
|
||||
BfTypeDef* attrTypeDef = NULL;
|
||||
if ((attrType != NULL) && (attrType->IsTypeInstance()))
|
||||
attrTypeDef = attrType->ToTypeInstance()->mTypeDef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue