summaryrefslogtreecommitdiff
path: root/src/vm/rexcep.h
diff options
context:
space:
mode:
authorRahul Kumar <rahku@microsoft.com>2016-11-30 12:08:47 -0800
committerRahul Kumar <rahku@microsoft.com>2017-01-06 14:09:35 -0800
commite516211b2d3a3ae2dbd80f2c94b129910a9e280d (patch)
tree8d78175c6b2f4c107b6264075b34f491f9d09e44 /src/vm/rexcep.h
parentedc1320180a3d68a16855da8da82f01871bf3a1d (diff)
downloadcoreclr-e516211b2d3a3ae2dbd80f2c94b129910a9e280d.tar.gz
coreclr-e516211b2d3a3ae2dbd80f2c94b129910a9e280d.tar.bz2
coreclr-e516211b2d3a3ae2dbd80f2c94b129910a9e280d.zip
Hide types implemented in corefx
Diffstat (limited to 'src/vm/rexcep.h')
-rw-r--r--src/vm/rexcep.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vm/rexcep.h b/src/vm/rexcep.h
index 1d1d9385f0..3ff4963996 100644
--- a/src/vm/rexcep.h
+++ b/src/vm/rexcep.h
@@ -142,7 +142,13 @@ DEFINE_EXCEPTION(g_SystemNS, BadImageFormatException, true,
META_E_BAD_SIGNATURE,
COR_E_LOADING_WINMD_REFERENCE_ASSEMBLY)
+#ifdef FEATURE_CORECLR
+// CannotUnloadAppDomainException is removed in CoreCLR
+#define kCannotUnloadAppDomainException kException
+#else
DEFINE_EXCEPTION(g_SystemNS, CannotUnloadAppDomainException, false, COR_E_CANNOTUNLOADAPPDOMAIN)
+#endif // FEATURE_CORECLR
+
DEFINE_EXCEPTION(g_CodeContractsNS, ContractException, false, COR_E_CODECONTRACTFAILED)
#ifdef FEATURE_REMOTING