19 references to ObjectToHandle
ILCompiler.ReadyToRun (19)
JitInterface\CorInfoImpl.ReadyToRun.cs (3)
522
return
ObjectToHandle
(asyncResumptionStub);
2391
pResult->hMethod =
ObjectToHandle
(methodToCall);
2820
pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)
ObjectToHandle
(md);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (16)
798
methodInfo->ftn =
ObjectToHandle
(method);
1023
return (CORINFO_CONTEXT_STRUCT*)(((nuint)
ObjectToHandle
(method)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_METHOD);
1542
info->resolvedTokenDevirtualizedUnboxedMethod.hMethod =
ObjectToHandle
(nonUnboxingImpl);
1632
info->devirtualizedMethod =
ObjectToHandle
(impl);
1669
result.hMethod = jitInterface.
ObjectToHandle
(method);
1693
return
ObjectToHandle
(method);
2017
pResolvedToken.hMethod =
ObjectToHandle
(method);
3648
pAsyncInfoOut.captureExecutionContextMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("CaptureExecutionContext"u8, null));
3649
pAsyncInfoOut.captureContinuationContextMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("CaptureContinuationContext"u8, null));
3650
pAsyncInfoOut.captureContextsMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("CaptureContexts"u8, null));
3651
pAsyncInfoOut.restoreContextsMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("RestoreContexts"u8, null));
3652
pAsyncInfoOut.restoreContextsOnSuspensionMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("RestoreContextsOnSuspension"u8, null));
3653
pAsyncInfoOut.finishSuspensionNoContinuationContextMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("FinishSuspensionNoContinuationContext"u8, null));
3654
pAsyncInfoOut.finishSuspensionWithContinuationContextMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("FinishSuspensionWithContinuationContext"u8, null));
3735
return
ObjectToHandle
(targetMethod);
3814
return
ObjectToHandle
(targetMethod);