| 11251 | } |
| 11252 | |
| 11253 | bool BfModule::GetBasePropertyDef(BfPropertyDef*& propDef, BfTypeInstance*& typeInst) |
| 11254 | { |
| 11255 | BfTypeInstance* checkTypeInst = typeInst; |
| 11256 | while (checkTypeInst != NULL) |
| 11257 | { |
| 11258 | for (auto checkProp : checkTypeInst->mTypeDef->mProperties) |
| 11259 | { |
| 11260 | if (checkProp->mName == propDef->mName) |
| 11261 | { |
| 11262 | auto checkPropDeclaration = BfNodeDynCast<BfPropertyDeclaration>(checkProp->mFieldDeclaration); |
| 11263 | if ((checkPropDeclaration == NULL) || (checkPropDeclaration->mVirtualSpecifier == NULL) || (checkPropDeclaration->mVirtualSpecifier->GetToken() == BfToken_Virtual)) |
| 11264 | { |
| 11265 | propDef = checkProp; |
| 11266 | typeInst = checkTypeInst; |
| 11267 | return true; |
| 11268 | } |
| 11269 | } |
| 11270 | } |
| 11271 | |
| 11272 | checkTypeInst = checkTypeInst->mBaseType; |
| 11273 | } |
| 11274 | return false; |
| 11275 | } |
| 11276 | |
| 11277 | BfMethodInstance* BfModule::GetRawMethodInstanceAtIdx(BfTypeInstance* typeInstance, int methodIdx, const char* assertName) |
| 11278 | { |
no test coverage detected