31 references to ObjectToHandle
ILCompiler.ReadyToRun (31)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2894
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);
1282
return
ObjectToHandle
(HandleToObject(type).GetTypeDefinition());
1346
return
ObjectToHandle
(m.OwningType);
1535
result.hClass = jitInterface.
ObjectToHandle
(methodWithToken.OwningType);
1567
return comparer != null ?
ObjectToHandle
(comparer) : null;
1574
return comparer != null ?
ObjectToHandle
(comparer) : null;
1585
return
ObjectToHandle
(placeholderType.MakeInstantiatedType(elementType));
1885
pResolvedToken.hClass =
ObjectToHandle
(method.OwningType);
1906
pResolvedToken.hClass =
ObjectToHandle
(owningClass);
1937
pResolvedToken.hClass =
ObjectToHandle
(type);
2015
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(result));
2108
return index < (uint)inst.Length ?
ObjectToHandle
(inst[(int)index]) : null;
2587
parNode->simdTypeHnd =
ObjectToHandle
(type);
2731
return
ObjectToHandle
(typeForBox);
2862
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object));
2865
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference));
2868
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle));
2871
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle));
2874
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle));
2881
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String));
2884
return
ObjectToHandle
(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8));
3118
*underlyingType =
ObjectToHandle
(type.UnderlyingType);
3229
return
ObjectToHandle
(fieldDesc.OwningType);
3384
return
ObjectToHandle
(type);
3390
return
ObjectToHandle
(type);
3480
pAsyncInfoOut.continuationClsHnd =
ObjectToHandle
(continuation);
3559
return
ObjectToHandle
(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));