diff options
Diffstat (limited to 'src/Runtime.Base/src/System/Runtime/CastableObjectSupport.cs')
-rw-r--r-- | src/Runtime.Base/src/System/Runtime/CastableObjectSupport.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Runtime.Base/src/System/Runtime/CastableObjectSupport.cs b/src/Runtime.Base/src/System/Runtime/CastableObjectSupport.cs index 20f0ce285..5ed1679c5 100644 --- a/src/Runtime.Base/src/System/Runtime/CastableObjectSupport.cs +++ b/src/Runtime.Base/src/System/Runtime/CastableObjectSupport.cs @@ -324,7 +324,7 @@ namespace System.Runtime unsafe private static IntPtr RhpCastableObjectResolve(IntPtr callerTransitionBlockParam, IntPtr pCell) { IntPtr locationOfThisPointer = callerTransitionBlockParam + TransitionBlock.GetThisOffset(); - object pObject = Unsafe.As<IntPtr, Object>(ref *(IntPtr*)locationOfThisPointer); + object pObject = Unsafe.As<IntPtr, object>(ref *(IntPtr*)locationOfThisPointer); DispatchCellInfo cellInfo; InternalCalls.RhpGetDispatchCellInfo(pCell, out cellInfo); @@ -343,7 +343,7 @@ namespace System.Runtime if (targetObject == null) EH.FailFastViaClasslib(RhFailFastReason.InternalError, null, pObject.EEType->GetAssociatedModuleAddress()); - Unsafe.As<IntPtr, Object>(ref *(IntPtr*)locationOfThisPointer) = targetObject; + Unsafe.As<IntPtr, object>(ref *(IntPtr*)locationOfThisPointer) = targetObject; InternalCalls.RhpSetTLSDispatchCell(pCell); return InternalCalls.RhpGetTailCallTLSDispatchCell(); |