LengthMustBePositiveValue -> LengthGreaterThanOrEqualTo0

This commit is contained in:
Oliver Booth 2021-03-10 12:48:34 +00:00
parent 88da1895f4
commit 00b751b555
3 changed files with 6 additions and 6 deletions

View File

@ -79,11 +79,11 @@ namespace X10D {
}
/// <summary>
/// Looks up a localized string similar to Length must be a positive value..
/// Looks up a localized string similar to Length must be greater than or equal to 0..
/// </summary>
internal static string LengthMustBePositiveValue {
internal static string LengthGreaterThanOrEqualTo0 {
get {
return ResourceManager.GetString("LengthMustBePositiveValue", resourceCulture);
return ResourceManager.GetString("LengthGreaterThanOrEqualTo0", resourceCulture);
}
}

View File

@ -38,8 +38,8 @@
<data name="HashAlgorithmCreateReturnedNull" xml:space="preserve">
<value>HashAlgorithm's Create method returned null referenece.</value>
</data>
<data name="LengthMustBePositiveValue" xml:space="preserve">
<value>Length must be a positive value.</value>
<data name="LengthGreaterThanOrEqualTo0" xml:space="preserve">
<value>Length must be greater than or equal to 0.</value>
</data>
<data name="StreamDoesNotSupportReading" xml:space="preserve">
<value>The stream does not support reading.</value>

View File

@ -333,7 +333,7 @@ namespace X10D.RandomExtensions
if (length < 0)
{
throw new ArgumentOutOfRangeException(nameof(length), ExceptionMessages.LengthMustBePositiveValue);
throw new ArgumentOutOfRangeException(nameof(length), ExceptionMessages.LengthGreaterThanOrEqualTo0);
}
if (length == 0)