summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/NotImplementedException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/NotImplementedException.cs')
-rw-r--r--src/mscorlib/src/System/NotImplementedException.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/NotImplementedException.cs b/src/mscorlib/src/System/NotImplementedException.cs
index 12f67d458d..ba7df488f1 100644
--- a/src/mscorlib/src/System/NotImplementedException.cs
+++ b/src/mscorlib/src/System/NotImplementedException.cs
@@ -17,8 +17,10 @@ namespace System {
using System;
using System.Runtime.Serialization;
-[System.Runtime.InteropServices.ComVisible(true)]
+ [System.Runtime.InteropServices.ComVisible(true)]
+#if FEATURE_SERIALIZATION
[Serializable]
+#endif
public class NotImplementedException : SystemException
{
public NotImplementedException()