summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/InputStream.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/InputStream.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/InputStream.cs')
-rw-r--r--csharp/src/Ice/InputStream.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/csharp/src/Ice/InputStream.cs b/csharp/src/Ice/InputStream.cs
index d71f3bd01ff..eafd7e5b843 100644
--- a/csharp/src/Ice/InputStream.cs
+++ b/csharp/src/Ice/InputStream.cs
@@ -1097,7 +1097,9 @@ namespace Ice
try
{
var f = new BinaryFormatter(null, new StreamingContext(StreamingContextStates.All, _instance));
+#pragma warning disable SYSLIB0011 // Type or member is obsolete
return f.Deserialize(new IceInternal.InputStreamWrapper(sz, this));
+#pragma warning restore SYSLIB0011 // Type or member is obsolete
}
catch(System.Exception ex)
{