Skip to content

Commit 881d524

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NetMQ/NetMQException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ public NetMQException(string message, Exception innerException)
4646

4747
/// <summary>Constructor for serialisation.</summary>
4848
protected NetMQException(SerializationInfo info, StreamingContext context)
49-
#pragma warning disable SYSLIB0051
49+
#pragma warning disable SYSLIB0051 // Legacy serialization support APIs are obsolete
5050
: base(info, context)
51-
#pragma warning restore SYSLIB0051
51+
#pragma warning restore SYSLIB0051 // Legacy serialization support APIs are obsolete
5252
{
5353
ErrorCode = (ErrorCode)info.GetInt32("ErrorCode");
5454
}

0 commit comments

Comments
 (0)