summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/OutputStream.cs
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-05-11 16:51:13 +0200
committerJose <jose@zeroc.com>2016-05-11 16:51:13 +0200
commit20ead35bcd15c258b00da6b1a16d26107f8dea8b (patch)
tree0aa99a82b9d56383c76c372fc1050dfd5493b4e9 /csharp/src/Ice/OutputStream.cs
parentFixed make install issue (diff)
downloadice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.tar.bz2
ice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.tar.xz
ice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.zip
CSharp mapping cleanup
- Remove code support for old ussuported frameworks (SILVERLIGHT, COMPACT, MONO) - Remove code support for deprecated collection mappings clr:collection
Diffstat (limited to 'csharp/src/Ice/OutputStream.cs')
-rw-r--r--csharp/src/Ice/OutputStream.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/csharp/src/Ice/OutputStream.cs b/csharp/src/Ice/OutputStream.cs
index 242f89d3b0a..fa7ae881100 100644
--- a/csharp/src/Ice/OutputStream.cs
+++ b/csharp/src/Ice/OutputStream.cs
@@ -15,10 +15,8 @@ namespace Ice
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
-#if !COMPACT && !SILVERLIGHT
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
-#endif
using System.Threading;
using Protocol = IceInternal.Protocol;
@@ -728,7 +726,6 @@ namespace Ice
/// <param name="o">The serializable object to write.</param>
public void writeSerializable(object o)
{
-#if !COMPACT && !SILVERLIGHT
if(o == null)
{
writeSize(0);
@@ -745,9 +742,6 @@ namespace Ice
{
throw new Ice.MarshalException("cannot serialize object:", ex);
}
-#else
- throw new Ice.MarshalException("serialization not supported");
-#endif
}
/// <summary>