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