Skip to content

Commit

Permalink
Mark overrides of obsolete members obsolete
Browse files Browse the repository at this point in the history
These are obsolete in newer .NET versions.
  • Loading branch information
oschwald committed Nov 15, 2023
1 parent 03cf46d commit 4ab4529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions MaxMind.Db/DeserializationException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public DeserializationException(string message, Exception innerException)
/// </summary>
/// <param name="info">The SerializationInfo with data.</param>
/// <param name="context">The source for this deserialization.</param>
[Obsolete]
private DeserializationException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
Expand Down
1 change: 1 addition & 0 deletions MaxMind.Db/InvalidDatabaseException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public InvalidDatabaseException(string message, Exception innerException)
/// </summary>
/// <param name="info">The SerializationInfo with data.</param>
/// <param name="context">The source for this deserialization.</param>
[Obsolete]
private InvalidDatabaseException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
Expand Down

0 comments on commit 4ab4529

Please sign in to comment.