diff options
Diffstat (limited to 'src/mscorlib/src/System/Threading/SemaphoreFullException.cs')
-rw-r--r-- | src/mscorlib/src/System/Threading/SemaphoreFullException.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/Threading/SemaphoreFullException.cs b/src/mscorlib/src/System/Threading/SemaphoreFullException.cs index 615ba7f78d..2ff84cedfd 100644 --- a/src/mscorlib/src/System/Threading/SemaphoreFullException.cs +++ b/src/mscorlib/src/System/Threading/SemaphoreFullException.cs @@ -7,7 +7,9 @@ namespace System.Threading { using System.Runtime.Serialization; using System.Runtime.InteropServices; - [Serializable()] +#if FEATURE_SERIALIZATION + [Serializable] +#endif [ComVisibleAttribute(false)] [System.Runtime.CompilerServices.TypeForwardedFrom("System, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=b77a5c561934e089")] public class SemaphoreFullException : SystemException { |