Browse Source

Update Guard.cs

pull/318/head
Avd6977 8 years ago
committed by GitHub
parent
commit
2448b5abad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/Squidex.Infrastructure/Guard.cs

4
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);
}
}

Loading…
Cancel
Save