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: submit/tizen/20210909.063632~11030^2~12149^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cabecb0366184e04cffe3370de5f814a0ed540d4;p=platform%2Fupstream%2Fdotnet%2Fruntime.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. Commit migrated from https://github.com/dotnet/coreclr/commit/36a36a7b4fcf050525351b0f758512fa2887b3ca --- diff --git a/src/coreclr/src/vm/appdomain.hpp b/src/coreclr/src/vm/appdomain.hpp index 6649c66..de60e95 100644 --- a/src/coreclr/src/vm/appdomain.hpp +++ b/src/coreclr/src/vm/appdomain.hpp @@ -1857,7 +1857,7 @@ struct FailedAssembly { CONTRACTL { THROWS; - GC_NOTRIGGER; + GC_TRIGGERS; MODE_ANY; } CONTRACTL_END;