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