6 references to RhHandleAlloc
System.Private.CoreLib (6)
Internal\Runtime\Augments\RuntimeAugments.cs (1)
731
return RuntimeImports.
RhHandleAlloc
(value, type);
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\CompilerHelpers\StartupCodeHelpers.cs (1)
42
s_moduleGCStaticsSpines = RuntimeImports.
RhHandleAlloc
(gcStaticBaseSpines, GCHandleType.Normal);
System\Runtime\InteropServices\GCHandle.NativeAot.cs (1)
10
internal static IntPtr InternalAlloc(object value, GCHandleType type) => RuntimeImports.
RhHandleAlloc
(value, type);
System\Runtime\RuntimeImports.cs (1)
267
return
RhHandleAlloc
(value, (GCHandleType)HNDTYPE_REFCOUNTED);
System\RuntimeType.NativeAot.cs (2)
35
_runtimeTypeInfoHandle = RuntimeImports.
RhHandleAlloc
(runtimeTypeInfo, GCHandleType.Normal);
77
IntPtr tempHandle = RuntimeImports.
RhHandleAlloc
(runtimeTypeInfo, GCHandleType.Weak);