31 references to ObjectToHandle
ILCompiler.ReadyToRun (31)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2854pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)ObjectToHandle(declaringMethod.OwningType);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (30)
853jitVisibleInstantiation[i] = (IntPtr)ObjectToHandle(inst[i]); 912sig->retTypeSigClass = ObjectToHandle(signature.ReturnType); 1017*structType = (typeIfNotPrimitive != null) ? ObjectToHandle(typeIfNotPrimitive) : null; 1028return (CORINFO_CONTEXT_STRUCT*)(((nuint)ObjectToHandle(type)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_CLASS); 1345return ObjectToHandle(HandleToObject(type).GetTypeDefinition()); 1409return ObjectToHandle(m.OwningType); 1668result.hClass = jitInterface.ObjectToHandle(methodWithToken.OwningType); 1700return comparer != null ? ObjectToHandle(comparer) : null; 1707return comparer != null ? ObjectToHandle(comparer) : null; 1718return ObjectToHandle(placeholderType.MakeInstantiatedType(elementType)); 2018pResolvedToken.hClass = ObjectToHandle(method.OwningType); 2039pResolvedToken.hClass = ObjectToHandle(owningClass); 2070pResolvedToken.hClass = ObjectToHandle(type); 2148return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2241return index < (uint)inst.Length ? ObjectToHandle(inst[(int)index]) : null; 2750parNode->simdTypeHnd = ObjectToHandle(type); 2893return ObjectToHandle(typeForBox); 3024return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object)); 3027return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference)); 3030return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle)); 3033return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle)); 3036return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle)); 3043return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String)); 3046return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8)); 3280*underlyingType = ObjectToHandle(type.UnderlyingType); 3391return ObjectToHandle(fieldDesc.OwningType); 3546return ObjectToHandle(type); 3552return ObjectToHandle(type); 3642pAsyncInfoOut.continuationClsHnd = ObjectToHandle(continuation); 3828return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));