31 references to ObjectToHandle
ILCompiler.ReadyToRun (31)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2894pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)ObjectToHandle(declaringMethod.OwningType);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (30)
854jitVisibleInstantiation[i] = (IntPtr)ObjectToHandle(inst[i]); 913sig->retTypeSigClass = ObjectToHandle(signature.ReturnType); 1018*structType = (typeIfNotPrimitive != null) ? ObjectToHandle(typeIfNotPrimitive) : null; 1029return (CORINFO_CONTEXT_STRUCT*)(((nuint)ObjectToHandle(type)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_CLASS); 1282return ObjectToHandle(HandleToObject(type).GetTypeDefinition()); 1346return ObjectToHandle(m.OwningType); 1535result.hClass = jitInterface.ObjectToHandle(methodWithToken.OwningType); 1567return comparer != null ? ObjectToHandle(comparer) : null; 1574return comparer != null ? ObjectToHandle(comparer) : null; 1585return ObjectToHandle(placeholderType.MakeInstantiatedType(elementType)); 1885pResolvedToken.hClass = ObjectToHandle(method.OwningType); 1906pResolvedToken.hClass = ObjectToHandle(owningClass); 1937pResolvedToken.hClass = ObjectToHandle(type); 2015return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2108return index < (uint)inst.Length ? ObjectToHandle(inst[(int)index]) : null; 2587parNode->simdTypeHnd = ObjectToHandle(type); 2731return ObjectToHandle(typeForBox); 2862return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object)); 2865return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference)); 2868return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle)); 2871return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle)); 2874return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle)); 2881return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String)); 2884return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8)); 3118*underlyingType = ObjectToHandle(type.UnderlyingType); 3229return ObjectToHandle(fieldDesc.OwningType); 3384return ObjectToHandle(type); 3390return ObjectToHandle(type); 3480pAsyncInfoOut.continuationClsHnd = ObjectToHandle(continuation); 3559return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));