18 references to ObjectToHandle
ILCompiler.ReadyToRun (18)
JitInterface\CorInfoImpl.ReadyToRun.cs (3)
524return ObjectToHandle(asyncResumptionStub); 2426pResult->hMethod = ObjectToHandle(methodToCall); 2849pResult.compileTimeHandle = (CORINFO_GENERIC_STRUCT_*)ObjectToHandle(md);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (15)
805methodInfo->ftn = ObjectToHandle(method); 1024return (CORINFO_CONTEXT_STRUCT*)(((nuint)ObjectToHandle(method)) | (nuint)CorInfoContextFlags.CORINFO_CONTEXTFLAGS_METHOD); 1478info->resolvedTokenDevirtualizedUnboxedMethod.hMethod = ObjectToHandle(nonUnboxingImpl); 1498info->devirtualizedMethod = ObjectToHandle(impl); 1535result.hMethod = jitInterface.ObjectToHandle(method); 1553return result != null ? ObjectToHandle(result) : null; 1581return ObjectToHandle(method); 1913pResolvedToken.hMethod = ObjectToHandle(method); 3486pAsyncInfoOut.captureExecutionContextMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("CaptureExecutionContext"u8, null)); 3487pAsyncInfoOut.captureContinuationContextMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("CaptureContinuationContext"u8, null)); 3488pAsyncInfoOut.captureContextsMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("CaptureContexts"u8, null)); 3489pAsyncInfoOut.restoreContextsMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("RestoreContexts"u8, null)); 3490pAsyncInfoOut.restoreContextsOnSuspensionMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("RestoreContextsOnSuspension"u8, null)); 3491pAsyncInfoOut.finishSuspensionNoContinuationContextMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("FinishSuspensionNoContinuationContext"u8, null)); 3492pAsyncInfoOut.finishSuspensionWithContinuationContextMethHnd = ObjectToHandle(asyncHelpers.GetKnownMethod("FinishSuspensionWithContinuationContext"u8, null));