diff options
author | Jose <pepone@users.noreply.github.com> | 2020-11-18 14:35:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 14:35:45 +0100 |
commit | 61f46a49e07d422bfb5ca7b32234b9ad1405fa07 (patch) | |
tree | 27b9db4b875d757dc3b51fa16b72decea248cb9f /csharp/src/Ice/InputStream.cs | |
parent | Fixed invalid Python 3.9 macro (diff) | |
download | ice-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.cs | 2 |
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) { |