32 references to ObjectToHandle
ILCompiler.ReadyToRun (32)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2944
pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)
ObjectToHandle
(declaringMethod.OwningType);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (31)
871
jitVisibleInstantiation[i] = (IntPtr)
ObjectToHandle
(inst[i]);
933
sig->retTypeSigClass =
ObjectToHandle
(signature.ReturnType);
1038
*structType = (typeIfNotPrimitive != null) ?
ObjectToHandle
(typeIfNotPrimitive) : null;
1049
return (CORINFO_CONTEXT_STRUCT*)(((nuint)
ObjectToHandle
(type)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_CLASS);
1366
return
ObjectToHandle
(HandleToObject(type).GetTypeDefinition());
1440
return
ObjectToHandle
(m.OwningType);
1699
result.hClass = jitInterface.
ObjectToHandle
(methodWithToken.OwningType);
1731
return comparer != null ?
ObjectToHandle
(comparer) : null;
1738
return comparer != null ?
ObjectToHandle
(comparer) : null;
1749
return
ObjectToHandle
(placeholderType.MakeInstantiatedType(elementType));
2049
pResolvedToken.hClass =
ObjectToHandle
(method.OwningType);
2070
pResolvedToken.hClass =
ObjectToHandle
(owningClass);
2101
pResolvedToken.hClass =
ObjectToHandle
(type);
2172
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(result));
2265
return index < (uint)inst.Length ?
ObjectToHandle
(inst[(int)index]) : null;
2743
parNode->simdTypeHnd =
ObjectToHandle
(type);
2886
return
ObjectToHandle
(typeForBox);
3017
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object));
3020
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference));
3023
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle));
3026
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle));
3029
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle));
3036
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String));
3039
return
ObjectToHandle
(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8));
3042
return
ObjectToHandle
(_compilation.TypeSystemContext.SystemModule.GetKnownType("System.Numerics"u8, "Vector`1"u8));
3276
*underlyingType =
ObjectToHandle
(type.UnderlyingType);
3387
return
ObjectToHandle
(fieldDesc.OwningType);
3558
return
ObjectToHandle
(type);
3564
return
ObjectToHandle
(type);
3654
pAsyncInfoOut.continuationClsHnd =
ObjectToHandle
(continuation);
3844
return
ObjectToHandle
(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));