31 references to ObjectToHandle
ILCompiler.ReadyToRun (31)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2850
pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)
ObjectToHandle
(declaringMethod.OwningType);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (30)
852
jitVisibleInstantiation[i] = (IntPtr)
ObjectToHandle
(inst[i]);
911
sig->retTypeSigClass =
ObjectToHandle
(signature.ReturnType);
1016
*structType = (typeIfNotPrimitive != null) ?
ObjectToHandle
(typeIfNotPrimitive) : null;
1027
return (CORINFO_CONTEXT_STRUCT*)(((nuint)
ObjectToHandle
(type)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_CLASS);
1314
return
ObjectToHandle
(HandleToObject(type).GetTypeDefinition());
1378
return
ObjectToHandle
(m.OwningType);
1637
result.hClass = jitInterface.
ObjectToHandle
(methodWithToken.OwningType);
1669
return comparer != null ?
ObjectToHandle
(comparer) : null;
1676
return comparer != null ?
ObjectToHandle
(comparer) : null;
1687
return
ObjectToHandle
(placeholderType.MakeInstantiatedType(elementType));
1987
pResolvedToken.hClass =
ObjectToHandle
(method.OwningType);
2008
pResolvedToken.hClass =
ObjectToHandle
(owningClass);
2039
pResolvedToken.hClass =
ObjectToHandle
(type);
2117
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(result));
2210
return index < (uint)inst.Length ?
ObjectToHandle
(inst[(int)index]) : null;
2689
parNode->simdTypeHnd =
ObjectToHandle
(type);
2833
return
ObjectToHandle
(typeForBox);
2964
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object));
2967
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference));
2970
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle));
2973
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle));
2976
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle));
2983
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String));
2986
return
ObjectToHandle
(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8));
3220
*underlyingType =
ObjectToHandle
(type.UnderlyingType);
3331
return
ObjectToHandle
(fieldDesc.OwningType);
3486
return
ObjectToHandle
(type);
3492
return
ObjectToHandle
(type);
3582
pAsyncInfoOut.continuationClsHnd =
ObjectToHandle
(continuation);
3688
return
ObjectToHandle
(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));