34 references to ObjectToHandle
ILCompiler.RyuJit (34)
JitInterface\CorInfoImpl.RyuJit.cs (3)
2023pResolvedToken.hClass = ObjectToHandle(stub.OwningType); 2331exactClsRet[index++] = ObjectToHandle(implClass); 2445return ObjectToHandle(HandleToObject(objPtr).ObjectType);
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); 2179return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2272return 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)); 3049return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System.Numerics"u8, "Vector`1"u8)); 3283*underlyingType = ObjectToHandle(type.UnderlyingType); 3394return ObjectToHandle(fieldDesc.OwningType); 3565return ObjectToHandle(type); 3571return ObjectToHandle(type); 3661pAsyncInfoOut.continuationClsHnd = ObjectToHandle(continuation); 3851return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));