24 references to ObjectToHandle
ILCompiler.RyuJit (24)
JitInterface\CorInfoImpl.RyuJit.cs (4)
62
return
ObjectToHandle
(asyncResumptionStub);
1709
pResult->hMethod =
ObjectToHandle
(targetMethod);
1766
pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)
ObjectToHandle
(md);
2024
pResolvedToken.hMethod =
ObjectToHandle
(stub);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (20)
816
methodInfo->ftn =
ObjectToHandle
(method);
1044
return (CORINFO_CONTEXT_STRUCT*)(((nuint)
ObjectToHandle
(method)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_METHOD);
1573
info->resolvedTokenDevirtualizedUnboxedMethod.hMethod =
ObjectToHandle
(nonUnboxingImpl);
1663
info->devirtualizedMethod =
ObjectToHandle
(impl);
1700
result.hMethod = jitInterface.
ObjectToHandle
(method);
1724
return
ObjectToHandle
(method);
2048
pResolvedToken.hMethod =
ObjectToHandle
(method);
3667
pAsyncInfoOut.captureExecutionContextMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("CaptureExecutionContext"u8, null));
3668
pAsyncInfoOut.captureContinuationContextMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("CaptureContinuationContext"u8, null));
3669
pAsyncInfoOut.captureContextsMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("CaptureContexts"u8, null));
3670
pAsyncInfoOut.restoreContextsMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("RestoreContexts"u8, null));
3671
pAsyncInfoOut.restoreContextsOnSuspensionMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("RestoreContextsOnSuspension"u8, null));
3672
pAsyncInfoOut.restoreInlinedFrameContextsMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("RestoreInlinedFrameContexts"u8, null));
3673
pAsyncInfoOut.captureInlinedFrameTransitionWithContinuationContextMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionWithContinuationContext"u8, null));
3674
pAsyncInfoOut.captureInlinedFrameTransitionNoContinuationContextMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionNoContinuationContext"u8, null));
3675
pAsyncInfoOut.captureInlinedFrameTransitionContinueOnThreadPoolMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionContinueOnThreadPool"u8, null));
3676
pAsyncInfoOut.finishSuspensionNoContinuationContextMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("FinishSuspensionNoContinuationContext"u8, null));
3677
pAsyncInfoOut.finishSuspensionWithContinuationContextMethHnd =
ObjectToHandle
(asyncHelpers.GetKnownMethod("FinishSuspensionWithContinuationContext"u8, null));
3758
return
ObjectToHandle
(targetMethod);
3837
return
ObjectToHandle
(targetMethod);