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