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

Method HasThis

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:1108–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106}
1107
1108bool BfMethodInstance::HasThis()
1109{
1110 if (mMethodDef->mIsStatic)
1111 return false;
1112 if ((mMethodInfoEx != NULL) && (mMethodInfoEx->mClosureInstanceInfo != NULL) && (mMethodInfoEx->mClosureInstanceInfo->mThisOverride != NULL))
1113 return !mMethodInfoEx->mClosureInstanceInfo->mThisOverride->IsValuelessNonOpaqueType();
1114 return (!mMethodInstanceGroup->mOwner->IsValuelessNonOpaqueType());
1115}
1116
1117bool BfMethodInstance::IsVirtual()
1118{

Callers 10

SetupIRMethodMethod · 0.45
CreateMethodRefTypeMethod · 0.45
CastToFunctionMethod · 0.45
CreateTypeDeclarationMethod · 0.45
InferGenericArgumentMethod · 0.45
CreateCallMethod · 0.45
MatchMethodMethod · 0.45
VisitMethod · 0.45

Calls 1

Tested by

no test coverage detected