| 79 | } |
| 80 | |
| 81 | BfProtection BfUsingFieldData::MemberRef::GetUsingProtection() const |
| 82 | { |
| 83 | switch (mKind) |
| 84 | { |
| 85 | case Kind_Field: |
| 86 | return mTypeInstance->mTypeDef->mFields[mIdx]->mUsingProtection; |
| 87 | case Kind_Property: |
| 88 | return mTypeInstance->mTypeDef->mProperties[mIdx]->mUsingProtection; |
| 89 | case Kind_Method: |
| 90 | return mTypeInstance->mTypeDef->mMethods[mIdx]->mProtection; |
| 91 | } |
| 92 | return BfProtection_Public; |
| 93 | } |
| 94 | |
| 95 | BfTypeDef* BfUsingFieldData::MemberRef::GetDeclaringType(BfModule* curModule) const |
| 96 | { |
no outgoing calls
no test coverage detected