32 references to ObjectToHandle
ILCompiler.ReadyToRun (32)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
3108pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)ObjectToHandle(declaringMethod.OwningType);
parent\parent\Common\JitInterface\CorInfoImpl.cs (31)
909jitVisibleInstantiation[i] = (IntPtr)ObjectToHandle(inst[i]); 971sig->retTypeSigClass = ObjectToHandle(signature.ReturnType); 1076*structType = (typeIfNotPrimitive != null) ? ObjectToHandle(typeIfNotPrimitive) : null; 1087return (CORINFO_CONTEXT_STRUCT*)(((nuint)ObjectToHandle(type)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_CLASS); 1404return ObjectToHandle(HandleToObject(type).GetTypeDefinition()); 1486return ObjectToHandle(m.OwningType); 1745result.hClass = jitInterface.ObjectToHandle(methodWithToken.OwningType); 1777return comparer != null ? ObjectToHandle(comparer) : null; 1784return comparer != null ? ObjectToHandle(comparer) : null; 1795return ObjectToHandle(placeholderType.MakeInstantiatedType(elementType)); 2095pResolvedToken.hClass = ObjectToHandle(method.OwningType); 2116pResolvedToken.hClass = ObjectToHandle(owningClass); 2147pResolvedToken.hClass = ObjectToHandle(type); 2218return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2311return index < (uint)inst.Length ? ObjectToHandle(inst[(int)index]) : null; 2789parNode->simdTypeHnd = ObjectToHandle(type); 2932return ObjectToHandle(typeForBox); 3063return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object)); 3066return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference)); 3069return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle)); 3072return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle)); 3075return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle)); 3082return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String)); 3085return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8)); 3088return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System.Numerics"u8, "Vector`1"u8)); 3322*underlyingType = ObjectToHandle(type.UnderlyingType); 3433return ObjectToHandle(fieldDesc.OwningType); 3604return ObjectToHandle(type); 3610return ObjectToHandle(type); 3700pAsyncInfoOut.continuationClsHnd = ObjectToHandle(continuation); 3899return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));