31 references to ObjectToHandle
ILCompiler.ReadyToRun (31)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2886pResult.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); 1281return ObjectToHandle(HandleToObject(type).GetTypeDefinition()); 1345return ObjectToHandle(m.OwningType); 1536result.hClass = jitInterface.ObjectToHandle(methodWithToken.OwningType); 1590return comparer != null ? ObjectToHandle(comparer) : null; 1597return comparer != null ? ObjectToHandle(comparer) : null; 1608return ObjectToHandle(placeholderType.MakeInstantiatedType(elementType)); 1916pResolvedToken.hClass = ObjectToHandle(method.OwningType); 1937pResolvedToken.hClass = ObjectToHandle(owningClass); 1968pResolvedToken.hClass = ObjectToHandle(type); 2019return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2112return index < (uint)inst.Length ? ObjectToHandle(inst[(int)index]) : null; 2591parNode->simdTypeHnd = ObjectToHandle(type); 2735return ObjectToHandle(typeForBox); 2866return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object)); 2869return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference)); 2872return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle)); 2875return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle)); 2878return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle)); 2885return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String)); 2888return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8)); 3122*underlyingType = ObjectToHandle(type.UnderlyingType); 3233return ObjectToHandle(fieldDesc.OwningType); 3388return ObjectToHandle(type); 3394return ObjectToHandle(type); 3482pAsyncInfoOut.continuationClsHnd = ObjectToHandle(continuation); 3508return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));