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