Finish fixing VSO #190301. DACRaiseException need some STATIC_ contracts.
authorMike McLaughlin <mikem@microsoft.com>
Tue, 16 Feb 2016 23:09:18 +0000 (15:09 -0800)
committerMike McLaughlin <mikem@microsoft.com>
Tue, 16 Feb 2016 23:09:18 +0000 (15:09 -0800)
[tfs-changeset: 1575640]

src/vm/util.cpp

index b3c7739..7a05624 100644 (file)
@@ -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
     {