diff --git a/BeefLibs/corlib/src/Reflection/MethodInfo.bf b/BeefLibs/corlib/src/Reflection/MethodInfo.bf index 31a62546..ea6447c2 100644 --- a/BeefLibs/corlib/src/Reflection/MethodInfo.bf +++ b/BeefLibs/corlib/src/Reflection/MethodInfo.bf @@ -63,6 +63,9 @@ namespace System.Reflection public StringView Name => Compiler.IsComptime ? Type.[Friend]Comptime_Method_GetName(mData.mComptimeMethodInstance) : mData.mMethodData.[Friend]mName; + public void* Ptr => Compiler.IsComptime ? + null : + mData.mMethodData.[Friend]mFuncPtr; public int ParamCount => Compiler.IsComptime ? Type.[Friend]Comptime_Method_GetInfo(mData.mComptimeMethodInstance).mParamCount :