diff --git a/MaxMind.Db/DeserializationException.cs b/MaxMind.Db/DeserializationException.cs
index aff7830..3ea5c6a 100644
--- a/MaxMind.Db/DeserializationException.cs
+++ b/MaxMind.Db/DeserializationException.cs
@@ -43,6 +43,7 @@ public DeserializationException(string message, Exception innerException)
///
/// The SerializationInfo with data.
/// The source for this deserialization.
+ [Obsolete]
private DeserializationException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
diff --git a/MaxMind.Db/InvalidDatabaseException.cs b/MaxMind.Db/InvalidDatabaseException.cs
index 76a43f6..f935e13 100644
--- a/MaxMind.Db/InvalidDatabaseException.cs
+++ b/MaxMind.Db/InvalidDatabaseException.cs
@@ -40,6 +40,7 @@ public InvalidDatabaseException(string message, Exception innerException)
///
/// The SerializationInfo with data.
/// The source for this deserialization.
+ [Obsolete]
private InvalidDatabaseException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}