Avd6977
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/Squidex.Infrastructure/Guard.cs
|
|
|
@ -116,7 +116,7 @@ namespace Squidex.Infrastructure |
|
|
|
{ |
|
|
|
if (target.CompareTo(lower) < 0) |
|
|
|
{ |
|
|
|
throw new ArgumentException($"Value must be greater or equals than {lower}", parameterName); |
|
|
|
throw new ArgumentException($"Value must be greater than or equal to {lower}", parameterName); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -136,7 +136,7 @@ namespace Squidex.Infrastructure |
|
|
|
{ |
|
|
|
if (target.CompareTo(upper) > 0) |
|
|
|
{ |
|
|
|
throw new ArgumentException($"Value must be less or equals than {upper}", parameterName); |
|
|
|
throw new ArgumentException($"Value must be less than or equal to {upper}", parameterName); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|