MCPcopy Create free account
hub / github.com/beefytech/Beef / GetUsingProtection

Method GetUsingProtection

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:81–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81BfProtection 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
95BfTypeDef* BfUsingFieldData::MemberRef::GetDeclaringType(BfModule* curModule) const
96{

Callers 3

AddTypeMembersMethod · 0.80
CheckTypeMethod · 0.80
LookupFieldMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected