34 references to ObjectToHandle
ILCompiler.RyuJit (34)
JitInterface\CorInfoImpl.RyuJit.cs (3)
2023
pResolvedToken.hClass =
ObjectToHandle
(stub.OwningType);
2331
exactClsRet[index++] =
ObjectToHandle
(implClass);
2445
return
ObjectToHandle
(HandleToObject(objPtr).ObjectType);
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);
2179
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(result));
2272
return index < (uint)inst.Length ?
ObjectToHandle
(inst[(int)index]) : null;
2750
parNode->simdTypeHnd =
ObjectToHandle
(type);
2893
return
ObjectToHandle
(typeForBox);
3024
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object));
3027
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference));
3030
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle));
3033
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle));
3036
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle));
3043
return
ObjectToHandle
(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String));
3046
return
ObjectToHandle
(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8));
3049
return
ObjectToHandle
(_compilation.TypeSystemContext.SystemModule.GetKnownType("System.Numerics"u8, "Vector`1"u8));
3283
*underlyingType =
ObjectToHandle
(type.UnderlyingType);
3394
return
ObjectToHandle
(fieldDesc.OwningType);
3565
return
ObjectToHandle
(type);
3571
return
ObjectToHandle
(type);
3661
pAsyncInfoOut.continuationClsHnd =
ObjectToHandle
(continuation);
3851
return
ObjectToHandle
(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));