MCPcopy Create free account
hub / github.com/beefytech/Beef / ~BfMethodInstance

Method ~BfMethodInstance

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:717–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715}
716
717BfMethodInstance::~BfMethodInstance()
718{
719 Dispose(true);
720
721 if (mHasMethodRefType)
722 {
723 auto module = GetOwner()->mModule;
724 if (!module->mContext->mDeleting)
725 {
726 auto methodRefType = module->CreateMethodRefType(this);
727 module->mContext->DeleteType(methodRefType);
728 }
729 }
730
731 delete mMethodInfoEx;
732}
733
734void BfMethodInstance::Dispose(bool isDeleting)
735{

Callers

nothing calls this directly

Calls 2

CreateMethodRefTypeMethod · 0.80
DeleteTypeMethod · 0.80

Tested by

no test coverage detected