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

Method VerifyBaseDelegateType

IDEHelper/Compiler/BfExprEvaluator.cpp:13450–13459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13448}
13449
13450BfTypeInstance* BfExprEvaluator::VerifyBaseDelegateType(BfTypeInstance* baseDelegateType)
13451{
13452 mModule->PopulateType(baseDelegateType, BfPopulateType_DataAndMethods);
13453 if (baseDelegateType->mFieldInstances.size() != 2)
13454 {
13455 mModule->AssertErrorState();
13456 return NULL;
13457 }
13458 return baseDelegateType;
13459}
13460
13461bool BfExprEvaluator::CanBindDelegate(BfDelegateBindExpression* delegateBindExpr, BfMethodInstance** boundMethod, BfType* origMethodExpectingType, BfTypeVector* methodGenericArgumentsSubstitute)
13462{

Callers

nothing calls this directly

Calls 3

AssertErrorStateMethod · 0.80
PopulateTypeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected