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:
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)
|
||||
{
|
||||
#if BF_DBG_RUNTIME
|
||||
return obj.[Friend]RawGetType();
|
||||
return obj.[Friend, DisableObjectAccessChecks]RawGetType();
|
||||
#else
|
||||
return null;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue