mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed reflecting Invoke for delegate/function
This commit is contained in:
parent
9d72043a71
commit
b98f1ea6a4
3 changed files with 8 additions and 0 deletions
|
@ -690,6 +690,8 @@ bool BfMethodDef::CanReflect()
|
|||
return true;
|
||||
if (mMethodType == BfMethodType_Ctor)
|
||||
return true;
|
||||
if ((mDeclaringType->mIsDelegate) || (mDeclaringType->mIsFunction))
|
||||
return mName == "Invoke";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue