mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-13 05:44:11 +02:00
Allow Object_GetType on deleted object
This commit is contained in:
parent
119e9189e5
commit
57cb170c38
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ namespace System
|
||||||
static Type Object_GetType(Object obj)
|
static Type Object_GetType(Object obj)
|
||||||
{
|
{
|
||||||
#if BF_DBG_RUNTIME
|
#if BF_DBG_RUNTIME
|
||||||
return obj.[Friend]RawGetType();
|
return obj.[Friend, DisableObjectAccessChecks]RawGetType();
|
||||||
#else
|
#else
|
||||||
return null;
|
return null;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue