We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 607a335 commit 4bdcdb8Copy full SHA for 4bdcdb8
src/coreclr/vm/method.cpp
@@ -3798,10 +3798,14 @@ MethodDesc::EnumMemoryRegions(CLRDataEnumMemoryFlags flags)
3798
ILCodeVersion ilVersion = pCodeVersionManager->GetActiveILCodeVersion(dac_cast<PTR_MethodDesc>(this));
3799
if (!ilVersion.IsNull())
3800
{
3801
- ilVersion.GetActiveNativeCodeVersion(dac_cast<PTR_MethodDesc>(this));
3802
- ilVersion.GetVersionId();
3803
- ilVersion.GetRejitState();
3804
- ilVersion.GetIL();
+ EX_TRY
+ {
+ ilVersion.GetActiveNativeCodeVersion(dac_cast<PTR_MethodDesc>(this));
+ ilVersion.GetVersionId();
3805
+ ilVersion.GetRejitState();
3806
+ ilVersion.GetIL();
3807
+ }
3808
+ EX_CATCH_RETHROW_ONLY_COR_E_OPERATIONCANCELLED
3809
}
3810
#endif
3811
0 commit comments