From: Richard L Ford Date: Thu, 8 Oct 2015 20:21:14 +0000 (-0700) Subject: Fix incorrect runtime contract for FailedAssembly::Initialize X-Git-Tag: accepted/tizen/base/20180629.140029~6324^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36a36a7b4fcf050525351b0f758512fa2887b3ca;p=platform%2Fupstream%2Fcoreclr.git Fix incorrect runtime contract for FailedAssembly::Initialize FailedAssembly::Initialize may call CLRException::GetHR. CLRException::GetHR is marked GC_TRIGGERS. FailedAssembly::Initialize has to be marked GC_TRIGGERS as well. --- diff --git a/src/vm/appdomain.hpp b/src/vm/appdomain.hpp index 6649c66..de60e95 100644 --- a/src/vm/appdomain.hpp +++ b/src/vm/appdomain.hpp @@ -1857,7 +1857,7 @@ struct FailedAssembly { CONTRACTL { THROWS; - GC_NOTRIGGER; + GC_TRIGGERS; MODE_ANY; } CONTRACTL_END;