mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-23 00:38:47 +00:00
LengthMustBePositiveValue -> LengthGreaterThanOrEqualTo0
This commit is contained in:
parent
88da1895f4
commit
00b751b555
6
X10D/src/ExceptionMessages.Designer.cs
generated
6
X10D/src/ExceptionMessages.Designer.cs
generated
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user