31 references to ObjectToHandle
ILCompiler.ReadyToRun (31)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2850pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)ObjectToHandle(declaringMethod.OwningType);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (30)
852jitVisibleInstantiation[i] = (IntPtr)ObjectToHandle(inst[i]); 911sig->retTypeSigClass = ObjectToHandle(signature.ReturnType); 1016*structType = (typeIfNotPrimitive != null) ? ObjectToHandle(typeIfNotPrimitive) : null; 1027return (CORINFO_CONTEXT_STRUCT*)(((nuint)ObjectToHandle(type)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_CLASS); 1314return ObjectToHandle(HandleToObject(type).GetTypeDefinition()); 1378return ObjectToHandle(m.OwningType); 1637result.hClass = jitInterface.ObjectToHandle(methodWithToken.OwningType); 1669return comparer != null ? ObjectToHandle(comparer) : null; 1676return comparer != null ? ObjectToHandle(comparer) : null; 1687return ObjectToHandle(placeholderType.MakeInstantiatedType(elementType)); 1987pResolvedToken.hClass = ObjectToHandle(method.OwningType); 2008pResolvedToken.hClass = ObjectToHandle(owningClass); 2039pResolvedToken.hClass = ObjectToHandle(type); 2117return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2210return index < (uint)inst.Length ? ObjectToHandle(inst[(int)index]) : null; 2689parNode->simdTypeHnd = ObjectToHandle(type); 2833return ObjectToHandle(typeForBox); 2964return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object)); 2967return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference)); 2970return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle)); 2973return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle)); 2976return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle)); 2983return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String)); 2986return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8)); 3220*underlyingType = ObjectToHandle(type.UnderlyingType); 3331return ObjectToHandle(fieldDesc.OwningType); 3486return ObjectToHandle(type); 3492return ObjectToHandle(type); 3582pAsyncInfoOut.continuationClsHnd = ObjectToHandle(continuation); 3688return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));