diff options
Diffstat (limited to 'src/mscorlib/src/System/IO/EndOfStreamException.cs')
-rw-r--r-- | src/mscorlib/src/System/IO/EndOfStreamException.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/IO/EndOfStreamException.cs b/src/mscorlib/src/System/IO/EndOfStreamException.cs index c77244dbad..6643917777 100644 --- a/src/mscorlib/src/System/IO/EndOfStreamException.cs +++ b/src/mscorlib/src/System/IO/EndOfStreamException.cs @@ -17,8 +17,10 @@ using System; using System.Runtime.Serialization; namespace System.IO { +#if FEATURE_SERIALIZATION [Serializable] -[System.Runtime.InteropServices.ComVisible(true)] +#endif + [System.Runtime.InteropServices.ComVisible(true)] public class EndOfStreamException : IOException { public EndOfStreamException() |