// sanity
_ASSERTE(handle);
-#ifdef _DEBUG_IMPL
- // handle should not be in unloaded domain
- ValidateAppDomainForHandle(handle);
-
- // Make sure the objref is valid before it is assigned to a handle
- ValidateAssignObjrefForHandle(objref, HndGetHandleTableADIndex(HndGetHandleTable(handle)));
-#endif
// unwrap the objectref we were given
_UNCHECKED_OBJECTREF value = OBJECTREF_TO_UNCHECKED_OBJECTREF(objref);
// sanity
_ASSERTE(handle);
-#ifdef _DEBUG_IMPL
- // handle should not be in unloaded domain
- ValidateAppDomainForHandle(handle);
-
- // Make sure the objref is valid before it is assigned to a handle
- ValidateAssignObjrefForHandle(objref, HndGetHandleTableADIndex(HndGetHandleTable(handle)));
-#endif
// unwrap the objectref we were given
_UNCHECKED_OBJECTREF value = OBJECTREF_TO_UNCHECKED_OBJECTREF(objref);
_UNCHECKED_OBJECTREF oldValue = OBJECTREF_TO_UNCHECKED_OBJECTREF(oldObjref);
// sanity
_ASSERTE(handle);
-#ifdef _DEBUG_IMPL
- // handle should not be in unloaded domain
- ValidateAppDomainForHandle(handle);
-
- // Make sure the objref is valid before it is assigned to a handle
- ValidateAssignObjrefForHandle(objref, HndGetHandleTableADIndex(HndGetHandleTable(handle)));
-#endif
// unwrap the objectref we were given
_UNCHECKED_OBJECTREF value = OBJECTREF_TO_UNCHECKED_OBJECTREF(objref);
_UNCHECKED_OBJECTREF null = NULL;