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

Method Contains

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:3264–3270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3262//////////////////////////////////////////////////////////////////////////
3263
3264bool BfCustomAttributes::Contains(BfTypeDef* typeDef)
3265{
3266 for (auto& customAttr : mAttributes)
3267 if (customAttr.mType->mTypeDef->GetDefinition() == typeDef)
3268 return true;
3269 return false;
3270}
3271
3272BfCustomAttribute* BfCustomAttributes::Get(BfTypeDef * typeDef)
3273{

Callers 3

GenerateMethodIdMethod · 0.45
IsTestMethodMethod · 0.45

Calls 1

GetDefinitionMethod · 0.80

Tested by

no test coverage detected