31 references to ObjectToHandle
ILCompiler.ReadyToRun (31)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2883
pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)
ObjectToHandle
(declaringMethod.OwningType);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (30)
854
jitVisibleInstantiation[i] = (IntPtr)
ObjectToHandle
(inst[i]);
913
sig->retTypeSigClass =
ObjectToHandle
(signature.ReturnType);
1018
*structType = (typeIfNotPrimitive != null) ?
ObjectToHandle
(typeIfNotPrimitive) : null;
1029
return (CORINFO_CONTEXT_STRUCT*)(((nuint)
ObjectToHandle
(type)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_CLASS);
1281
return
ObjectToHandle
(HandleToObject(type).GetTypeDefinition());
1345
return
ObjectToHandle
(m.OwningType);
1534
result.hClass = jitInterface.
ObjectToHandle
(methodWithToken.OwningType);
1588
return comparer != null ?
ObjectToHandle
(comparer) : null;
1595
return comparer != null ?
ObjectToHandle
(comparer) : null;
1606
return
ObjectToHandle
(placeholderType.MakeInstantiatedType(elementType));
1914
pResolvedToken.hClass =
ObjectToHandle
(method.OwningType);
1935
pResolvedToken.hClass =
ObjectToHandle
(owningClass);
1966
pResolvedToken.hClass =
ObjectToHandle
(type);
2017
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(result));
2110
return index < (uint)inst.Length ?
ObjectToHandle
(inst[(int)index]) : null;
2589
parNode->simdTypeHnd =
ObjectToHandle
(type);
2733
return
ObjectToHandle
(typeForBox);
2864
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object));
2867
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference));
2870
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle));
2873
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle));
2876
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle));
2883
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String));
2886
return
ObjectToHandle
(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8));
3120
*underlyingType =
ObjectToHandle
(type.UnderlyingType);
3231
return
ObjectToHandle
(fieldDesc.OwningType);
3386
return
ObjectToHandle
(type);
3392
return
ObjectToHandle
(type);
3480
pAsyncInfoOut.continuationClsHnd =
ObjectToHandle
(continuation);
3506
return
ObjectToHandle
(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));