summaryrefslogtreecommitdiff
path: root/src/vm/comdelegate.cpp
diff options
context:
space:
mode:
authordanmosemsft <danmose@microsoft.com>2017-02-10 22:15:01 -0800
committerdanmosemsft <danmose@microsoft.com>2017-02-10 22:15:01 -0800
commit87f8b67a4ee90ef807927f5083e237cb88b34725 (patch)
tree2ad1316d160dd7746c20d1668f5e7a8bd2709bf3 /src/vm/comdelegate.cpp
parentb45b7e4eb467bca44f9d77959df0337bdcecbd3c (diff)
downloadcoreclr-87f8b67a4ee90ef807927f5083e237cb88b34725.tar.gz
coreclr-87f8b67a4ee90ef807927f5083e237cb88b34725.tar.bz2
coreclr-87f8b67a4ee90ef807927f5083e237cb88b34725.zip
Revert "Remove always defined FEATURE_CORRUPTING_EXCEPTIONS"
This reverts commit b0dab0d6de90a38dfbf0d6b2039a7b8f5269d802.
Diffstat (limited to 'src/vm/comdelegate.cpp')
-rw-r--r--src/vm/comdelegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/comdelegate.cpp b/src/vm/comdelegate.cpp
index 987ab7f39e..f0799add07 100644
--- a/src/vm/comdelegate.cpp
+++ b/src/vm/comdelegate.cpp
@@ -3970,7 +3970,7 @@ static void InvokeUnhandledSwallowing(OBJECTREF *pDelegate,
// specified would enable this change for builds that dont support
// FEATURE_EXCEPTION_NOTIFICATIONS, like CoreCLR. We dont want that to happen
// as well.
-#if defined(FEATURE_EXCEPTION_NOTIFICATIONS)
+#if defined(FEATURE_CORRUPTING_EXCEPTIONS) && defined(FEATURE_EXCEPTION_NOTIFICATIONS)
BOOL fCanMethodHandleException = g_pConfig->LegacyCorruptedStateExceptionsPolicy();
if (!fCanMethodHandleException)
{