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 3090813 commit bbe2762Copy full SHA for bbe2762
src/coreclr/vm/method.cpp
@@ -3696,10 +3696,14 @@ MethodDesc::EnumMemoryRegions(CLRDataEnumMemoryFlags flags)
3696
ILCodeVersion ilVersion = pCodeVersionManager->GetActiveILCodeVersion(dac_cast<PTR_MethodDesc>(this));
3697
if (!ilVersion.IsNull())
3698
{
3699
- ilVersion.GetActiveNativeCodeVersion(dac_cast<PTR_MethodDesc>(this));
3700
- ilVersion.GetVersionId();
3701
- ilVersion.GetRejitState();
3702
- ilVersion.GetIL();
+ EX_TRY
+ {
+ ilVersion.GetActiveNativeCodeVersion(dac_cast<PTR_MethodDesc>(this));
+ ilVersion.GetVersionId();
3703
+ ilVersion.GetRejitState();
3704
+ ilVersion.GetIL();
3705
+ }
3706
+ EX_CATCH_RETHROW_ONLY_COR_E_OPERATIONCANCELLED
3707
}
3708
#endif
3709
0 commit comments