Fix CA1305 violations

This commit is contained in:
Oliver Booth 2022-11-29 17:13:26 +00:00
parent deb1f2edd8
commit 7a1ecc6a01
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ public static class ComparableExtensions
if (lower.GreaterThan(upper)) if (lower.GreaterThan(upper))
{ {
throw new ArgumentException( throw new ArgumentException(
string.Format(ExceptionMessages.LowerCannotBeGreaterThanUpper, lower, upper), string.Format(CultureInfo.CurrentCulture, ExceptionMessages.LowerCannotBeGreaterThanUpper, lower, upper),
nameof(lower)); nameof(lower));
} }