When constructing a new Ulid with Ulid(SerializationInfo info, StreamingContext context) a NullReferenceException would be thrown if info is null. However the XML documentation states that in this case an ArgumentNullException would be thrown. This PR checks for the null and then throws the ArgumentNullException if required.
When constructing a new Ulid with
Ulid(SerializationInfo info, StreamingContext context)
a NullReferenceException would be thrown ifinfo
is null. However the XML documentation states that in this case an ArgumentNullException would be thrown. This PR checks for the null and then throws the ArgumentNullException if required.