1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Allow Object_GetType on deleted object

This commit is contained in:
Brian Fiete 2022-07-23 12:58:31 -04:00
parent 119e9189e5
commit 57cb170c38

View file

@ -147,7 +147,7 @@ namespace System
static Type Object_GetType(Object obj)
{
#if BF_DBG_RUNTIME
return obj.[Friend]RawGetType();
return obj.[Friend, DisableObjectAccessChecks]RawGetType();
#else
return null;
#endif