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

Method Get

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:3272–3278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3270}
3271
3272BfCustomAttribute* BfCustomAttributes::Get(BfTypeDef * typeDef)
3273{
3274 for (auto& customAttr : mAttributes)
3275 if (customAttr.mType->mTypeDef->GetDefinition() == typeDef)
3276 return &customAttr;
3277 return NULL;
3278}
3279
3280BfCustomAttribute* BfCustomAttributes::Get(BfType* type)
3281{

Callers 2

GetImportKindMethod · 0.45
GetUnderlyingArrayMethod · 0.45

Calls 2

GetDefinitionMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected