summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vm/util.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vm/util.cpp b/src/vm/util.cpp
index b3c7739357..7a05624113 100644
--- a/src/vm/util.cpp
+++ b/src/vm/util.cpp
@@ -3282,8 +3282,10 @@ static CrstStatic g_clrNotificationCrst;
void DACRaiseException(TADDR *args, UINT argCount)
{
- // The compiler doesn't like try/catch and constract macros together
- WRAPPER_NO_CONTRACT;
+ STATIC_CONTRACT_NOTHROW;
+ STATIC_CONTRACT_GC_NOTRIGGER;
+ STATIC_CONTRACT_MODE_ANY;
+ STATIC_CONTRACT_SO_TOLERANT;
struct Param
{