diff options
Diffstat (limited to 'csharp/src/Ice/OutputStream.cs')
-rw-r--r-- | csharp/src/Ice/OutputStream.cs | 2 |
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) |