diff --git a/src/CLR/Core/CLR_RT_StackFrame.cpp b/src/CLR/Core/CLR_RT_StackFrame.cpp index 59c861892d..a2eb9ea960 100644 --- a/src/CLR/Core/CLR_RT_StackFrame.cpp +++ b/src/CLR/Core/CLR_RT_StackFrame.cpp @@ -719,7 +719,10 @@ HRESULT CLR_RT_StackFrame::FixCall() } else if (args->Dereference()->ObjectCls().m_data == res.m_cls.m_data) { - NANOCLR_CHECK_HRESULT(args->PerformUnboxing(inst)); + if (args->Dereference()->IsBoxed()) + { + NANOCLR_CHECK_HRESULT(args->PerformUnboxing(inst)); + } } else {