1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-24 18:48:01 +02:00

Set propDef.mDeclaringType for Underlying

This commit is contained in:
Brian Fiete 2021-11-23 11:41:33 -08:00
parent bde7b0b3aa
commit 1536c89d63

View file

@ -2273,7 +2273,7 @@ void BfDefBuilder::FinishTypeDef(bool wantsToString)
mCurTypeDef->mProperties.Add(propDef);
propDef->mTypeRef = mSystem->mDirectSelfBaseTypeRef;
BF_ASSERT(mCurDeclaringTypeDef != NULL);
methodDef->mDeclaringType = mCurDeclaringTypeDef;
propDef->mDeclaringType = mCurDeclaringTypeDef;
propDef->mName = "Underlying";
propDef->mMethods.Add(methodDef);
propDef->mProtection = BfProtection_Public;