summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2016-02-16 15:09:18 -0800
committerMike McLaughlin <mikem@microsoft.com>2016-02-16 15:09:18 -0800
commitc0fdfef893dad8301f5db2e57ef45660fcfb4d7a (patch)
treece9605d42696d8ce5c2627cafa2bfd20a5f29765
parent9427f6c620450af16afd7cb95a08a1d846c7c79f (diff)
downloadcoreclr-c0fdfef893dad8301f5db2e57ef45660fcfb4d7a.tar.gz
coreclr-c0fdfef893dad8301f5db2e57ef45660fcfb4d7a.tar.bz2
coreclr-c0fdfef893dad8301f5db2e57ef45660fcfb4d7a.zip
Finish fixing VSO #190301. DACRaiseException need some STATIC_ contracts.
[tfs-changeset: 1575640]
-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
{