summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Threading/ExecutionContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Threading/ExecutionContext.cs')
-rw-r--r--src/mscorlib/src/System/Threading/ExecutionContext.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/Threading/ExecutionContext.cs b/src/mscorlib/src/System/Threading/ExecutionContext.cs
index b4213d24cb..0440368608 100644
--- a/src/mscorlib/src/System/Threading/ExecutionContext.cs
+++ b/src/mscorlib/src/System/Threading/ExecutionContext.cs
@@ -515,7 +515,9 @@ namespace System.Threading
}
- [Serializable]
+#if FEATURE_SERIALIZATION
+ [Serializable]
+#endif
public sealed class ExecutionContext : IDisposable, ISerializable
{
/*=========================================================================