From 36a36a7b4fcf050525351b0f758512fa2887b3ca Mon Sep 17 00:00:00 2001 From: Richard L Ford Date: Thu, 8 Oct 2015 13:21:14 -0700 Subject: 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. --- src/vm/appdomain.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vm/appdomain.hpp b/src/vm/appdomain.hpp index 6649c66db4..de60e95259 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; -- cgit v1.2.3