Skip to content

Commit

Permalink
fix(SYSLIB0051): mark serializable/binary formatter support as obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
skwasjer committed Nov 18, 2023
1 parent 622a6bf commit 1770c62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MockHttp/HttpMockException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ internal HttpMockException(string message, Exception innerException) : base(mess

/// <inheritdoc />
[ExcludeFromCodeCoverage]
#if NET8_0_OR_GREATER
[Obsolete(DiagnosticId = "SYSLIB0051")]
#endif
protected HttpMockException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
Expand Down

0 comments on commit 1770c62

Please sign in to comment.