Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2009-10-17 05:35:27 +0400
committerMiguel de Icaza <miguel@gnome.org>2009-10-17 05:35:27 +0400
commit0204abe80374a7f021d91a7c226ef07587195c8a (patch)
tree27645d1872ef97b560856d4a5d30413dfe4d7f6f /mcs/class/corlib/System.IO/MemoryStream.cs
parente6371e3437fe15a4e2f8589d311aadfbe86497f0 (diff)
Drop more obsolete defines
svn path=/trunk/mcs/; revision=144304
Diffstat (limited to 'mcs/class/corlib/System.IO/MemoryStream.cs')
-rw-r--r--mcs/class/corlib/System.IO/MemoryStream.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/mcs/class/corlib/System.IO/MemoryStream.cs b/mcs/class/corlib/System.IO/MemoryStream.cs
index dcf631fece9..74c027fe087 100644
--- a/mcs/class/corlib/System.IO/MemoryStream.cs
+++ b/mcs/class/corlib/System.IO/MemoryStream.cs
@@ -39,10 +39,8 @@ using System.Runtime.InteropServices;
namespace System.IO
{
[Serializable]
-#if NET_2_0
[ComVisible (true)]
-#endif
- [MonoTODO ("Serialization format not compatible with .NET")]
+ [MonoLimitation ("Serialization format not compatible with .NET")]
public class MemoryStream : Stream
{
bool canWrite;
@@ -209,11 +207,7 @@ namespace System.IO
}
}
-#if NET_2_0
protected override void Dispose (bool disposing)
-#else
- public override void Close ()
-#endif
{
streamClosed = true;
expandable = false;