Skip to content

Commit 5f26dfd

Browse files
chrbauerdrewnoakes
andauthored
Update src/NetMQ/NetMQException.cs
Co-authored-by: Drew Noakes <git@drewnoakes.com>
1 parent 881d524 commit 5f26dfd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/NetMQ/NetMQException.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,11 @@ public override void GetObjectData(SerializationInfo info, StreamingContext cont
6464
#pragma warning restore CS0672 // Member overrides obsolete member
6565
{
6666
info.AddValue("ErrorCode", ErrorCode);
67-
#pragma warning disable SYSLIB0051
67+
#pragma warning disable SYSLIB0051 // Legacy serialization support APIs are obsolete
6868
base.GetObjectData(info, context);
69-
#pragma warning restore SYSLIB0051
69+
#pragma warning restore SYSLIB0051 // Legacy serialization support APIs are obsolete
7070
}
7171

72-
7372
#endregion
7473

7574
/// <summary>

0 commit comments

Comments
 (0)