summaryrefslogtreecommitdiff
path: root/src/vm/rexcep.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/rexcep.h')
-rw-r--r--src/vm/rexcep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vm/rexcep.h b/src/vm/rexcep.h
index fe920bcd2d..1d1d9385f0 100644
--- a/src/vm/rexcep.h
+++ b/src/vm/rexcep.h
@@ -144,7 +144,11 @@ DEFINE_EXCEPTION(g_SystemNS, BadImageFormatException, true,
DEFINE_EXCEPTION(g_SystemNS, CannotUnloadAppDomainException, false, COR_E_CANNOTUNLOADAPPDOMAIN)
DEFINE_EXCEPTION(g_CodeContractsNS, ContractException, false, COR_E_CODECONTRACTFAILED)
+
+#ifdef FEATURE_REMOTING
DEFINE_EXCEPTION(g_SystemNS, ContextMarshalException, false, COR_E_CONTEXTMARSHAL)
+#endif
+
DEFINE_EXCEPTION(g_ReflectionNS, CustomAttributeFormatException, false, COR_E_CUSTOMATTRIBUTEFORMAT)
#if defined(FEATURE_X509) || defined(FEATURE_CRYPTO)