From 39bf4a741c6ea5f6f2d43a4bd5da4d216531f912 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 be45e9755c6a4c..fc3553de54097f 100644 --- a/src/coreclr/vm/jithelpers.cpp +++ b/src/coreclr/vm/jithelpers.cpp @@ -5543,7 +5543,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 }