From 817ad24f1394031e9be5c83a3253316ba592e944 Mon Sep 17 00:00:00 2001 From: Ilia K Date: Mon, 4 Oct 2021 09:50:21 +0200 Subject: [PATCH] Fix unmatched transition callback in JIT_ReversePInvokeExitTrackTransitions Fixes #59917 --- src/coreclr/vm/jithelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/vm/jithelpers.cpp b/src/coreclr/vm/jithelpers.cpp index ea70bf8e0ac242..5f41caa0c3e85d 100644 --- a/src/coreclr/vm/jithelpers.cpp +++ b/src/coreclr/vm/jithelpers.cpp @@ -5572,7 +5572,7 @@ HCIMPL1_RAW(void, JIT_ReversePInvokeExitTrackTransitions, ReversePInvokeFrame* f #ifdef PROFILING_SUPPORTED if (CORProfilerTrackTransitions()) { - ProfilerUnmanagedToManagedTransitionMD(frame->pMD, COR_PRF_TRANSITION_RETURN); + ProfilerManagedToUnmanagedTransitionMD(frame->pMD, COR_PRF_TRANSITION_RETURN); } #endif }