From 2448b5abad4699b19dc439a28d0145d9e9220774 Mon Sep 17 00:00:00 2001 From: Avd6977 Date: Tue, 25 Sep 2018 13:34:26 -0500 Subject: [PATCH] Update Guard.cs --- src/Squidex.Infrastructure/Guard.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Squidex.Infrastructure/Guard.cs b/src/Squidex.Infrastructure/Guard.cs index 1c1644f97..f4a5c8d53 100644 --- a/src/Squidex.Infrastructure/Guard.cs +++ b/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); } }