diff options
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) { |