summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/OutputStream.cs
diff options
context:
space:
mode:
authorJose <pepone@users.noreply.github.com>2020-11-18 14:35:45 +0100
committerGitHub <noreply@github.com>2020-11-18 14:35:45 +0100
commit61f46a49e07d422bfb5ca7b32234b9ad1405fa07 (patch)
tree27b9db4b875d757dc3b51fa16b72decea248cb9f /csharp/src/Ice/OutputStream.cs
parentFixed invalid Python 3.9 macro (diff)
downloadice-61f46a49e07d422bfb5ca7b32234b9ad1405fa07.tar.bz2
ice-61f46a49e07d422bfb5ca7b32234b9ad1405fa07.tar.xz
ice-61f46a49e07d422bfb5ca7b32234b9ad1405fa07.zip
Add .NET 5.0 support (#1154)
Diffstat (limited to 'csharp/src/Ice/OutputStream.cs')
-rw-r--r--csharp/src/Ice/OutputStream.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/csharp/src/Ice/OutputStream.cs b/csharp/src/Ice/OutputStream.cs
index d87491b83f4..bf79911e643 100644
--- a/csharp/src/Ice/OutputStream.cs
+++ b/csharp/src/Ice/OutputStream.cs
@@ -727,7 +727,9 @@ namespace Ice
{
IceInternal.OutputStreamWrapper w = new IceInternal.OutputStreamWrapper(this);
IFormatter f = new BinaryFormatter();
+#pragma warning disable SYSLIB0011 // Type or member is obsolete
f.Serialize(w, o);
+#pragma warning restore SYSLIB0011 // Type or member is obsolete
w.Close();
}
catch(System.Exception ex)