15 references to RhBox
System.Private.CoreLib (15)
Internal\Runtime\Augments\RuntimeAugments.cs (5)
239
return RuntimeExports.
RhBox
(fieldType.ToMethodTable(), ref *(byte*)address);
259
return RuntimeExports.
RhBox
(fieldType.ToMethodTable(), ref address);
267
return RuntimeExports.
RhBox
(MethodTable.Of<IntPtr>(), ref address);
308
return RuntimeExports.
RhBox
(fieldTypeHandle.ToMethodTable(), ref Unsafe.Add<byte>(ref typedReference.Value, fieldOffset));
382
return RuntimeExports.
RhBox
(type.ToMethodTable(), ref *(byte*)address);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\RuntimeExports.cs (1)
176
return
RhBox
(pEEType, ref data);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (1)
594
object? obj = RuntimeExports.
RhBox
(pSrcMT, ref srcData);
System\Array.NativeAot.cs (1)
391
return RuntimeExports.
RhBox
(pElementEEType, ref element);
System\InvokeUtils.cs (1)
154
dstObject = RuntimeExports.
RhBox
(dstEEType, ref srcObject.GetRawData());
System\Reflection\DynamicInvokeInfo.cs (4)
796
obj = RuntimeExports.
RhBox
(
830
obj = RuntimeExports.
RhBox
(
862
obj = RuntimeExports.
RhBox
(MethodTable.Of<IntPtr>(), ref byref);
872
obj = RuntimeExports.
RhBox
(_returnType, ref byref);
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (1)
396
return RuntimeExports.
RhBox
(mt, ref target);
System\ValueType.cs (1)
162
var fieldValue = (ValueType)RuntimeExports.
RhBox
(fieldType, ref fieldData);