32 references to ObjectToHandle
ILCompiler.ReadyToRun (32)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2944pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)ObjectToHandle(declaringMethod.OwningType);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (31)
871jitVisibleInstantiation[i] = (IntPtr)ObjectToHandle(inst[i]); 933sig->retTypeSigClass = ObjectToHandle(signature.ReturnType); 1038*structType = (typeIfNotPrimitive != null) ? ObjectToHandle(typeIfNotPrimitive) : null; 1049return (CORINFO_CONTEXT_STRUCT*)(((nuint)ObjectToHandle(type)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_CLASS); 1366return ObjectToHandle(HandleToObject(type).GetTypeDefinition()); 1440return ObjectToHandle(m.OwningType); 1699result.hClass = jitInterface.ObjectToHandle(methodWithToken.OwningType); 1731return comparer != null ? ObjectToHandle(comparer) : null; 1738return comparer != null ? ObjectToHandle(comparer) : null; 1749return ObjectToHandle(placeholderType.MakeInstantiatedType(elementType)); 2049pResolvedToken.hClass = ObjectToHandle(method.OwningType); 2070pResolvedToken.hClass = ObjectToHandle(owningClass); 2101pResolvedToken.hClass = ObjectToHandle(type); 2172return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2265return index < (uint)inst.Length ? ObjectToHandle(inst[(int)index]) : null; 2743parNode->simdTypeHnd = ObjectToHandle(type); 2886return ObjectToHandle(typeForBox); 3017return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object)); 3020return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference)); 3023return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle)); 3026return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle)); 3029return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle)); 3036return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String)); 3039return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8)); 3042return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System.Numerics"u8, "Vector`1"u8)); 3276*underlyingType = ObjectToHandle(type.UnderlyingType); 3387return ObjectToHandle(fieldDesc.OwningType); 3558return ObjectToHandle(type); 3564return ObjectToHandle(type); 3654pAsyncInfoOut.continuationClsHnd = ObjectToHandle(continuation); 3844return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));