26 references to ObjectToHandle
ILCompiler.ReadyToRun (26)
JitInterface\CorInfoImpl.ReadyToRun.cs (5)
534return ObjectToHandle(asyncResumptionStub); 1490return ObjectToHandle(systemDelegate.GetKnownMethod("CtorClosed"u8, null)); 1493return ObjectToHandle(systemDelegate.GetKnownMethod("DelegateConstruct"u8, null)); 2530pResult->hMethod = ObjectToHandle(methodToCall); 3074pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)ObjectToHandle(md);
parent\parent\Common\JitInterface\CorInfoImpl.cs (21)
854methodInfo->ftn = ObjectToHandle(method); 1082return (CORINFO_CONTEXT_STRUCT*)(((nuint)ObjectToHandle(method)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_METHOD); 1619info->resolvedTokenDevirtualizedUnboxedMethod.hMethod = ObjectToHandle(nonUnboxingImpl); 1709info->devirtualizedMethod = ObjectToHandle(impl); 1746result.hMethod = jitInterface.ObjectToHandle(method); 1770return ObjectToHandle(method); 2094pResolvedToken.hMethod = ObjectToHandle(method); 3706pAsyncInfoOut.captureExecutionContextMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("CaptureExecutionContext"u8, null)); 3707pAsyncInfoOut.captureContinuationContextMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("CaptureContinuationContext"u8, null)); 3708pAsyncInfoOut.captureContextsMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("CaptureContexts"u8, null)); 3709pAsyncInfoOut.restoreContextsMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("RestoreContexts"u8, null)); 3710pAsyncInfoOut.restoreContextsOnSuspensionMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("RestoreContextsOnSuspension"u8, null)); 3711pAsyncInfoOut.restoreInlinedFrameContextsMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("RestoreInlinedFrameContexts"u8, null)); 3712pAsyncInfoOut.captureInlinedFrameTransitionWithContinuationContextMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionWithContinuationContext"u8, null)); 3713pAsyncInfoOut.captureInlinedFrameTransitionNoContinuationContextMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionNoContinuationContext"u8, null)); 3714pAsyncInfoOut.captureInlinedFrameTransitionContinueOnThreadPoolMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionContinueOnThreadPool"u8, null)); 3715pAsyncInfoOut.finishSuspensionNoContinuationContextMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("FinishSuspensionNoContinuationContext"u8, null)); 3716pAsyncInfoOut.finishSuspensionWithContinuationContextMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("FinishSuspensionWithContinuationContext"u8, null)); 3806return ObjectToHandle(targetMethod); 3885return ObjectToHandle(targetMethod); 4181*pMethod = helper.Method is null ? null : ObjectToHandle(helper.Method);