diff --git a/src/projects/EnsureThat/EnsureArg.Strings.cs b/src/projects/EnsureThat/EnsureArg.Strings.cs index 98db5b9..2e7202e 100644 --- a/src/projects/EnsureThat/EnsureArg.Strings.cs +++ b/src/projects/EnsureThat/EnsureArg.Strings.cs @@ -25,10 +25,6 @@ public static string IsNotNullOrEmpty([ValidatedNotNull] string value, [InvokerP public static string IsNotEmptyOrWhiteSpace(string value, [InvokerParameterName] string paramName = null, OptsFn optsFn = null) => Ensure.String.IsNotEmptyOrWhiteSpace(value, paramName, optsFn); - [Obsolete("This method will soon be deprecated. Use IsNotEmptyOrWhiteSpace instead.")] - public static string IsNotEmptyOrWhitespace(string value, [InvokerParameterName] string paramName = null, OptsFn optsFn = null) - => Ensure.String.IsNotEmptyOrWhiteSpace(value, paramName, optsFn); - public static string IsNotEmpty(string value, [InvokerParameterName] string paramName = null, OptsFn optsFn = null) => Ensure.String.IsNotEmpty(value, paramName, optsFn); diff --git a/src/projects/EnsureThat/EnsureThatStringExtensions.cs b/src/projects/EnsureThat/EnsureThatStringExtensions.cs index d027dab..16491c8 100644 --- a/src/projects/EnsureThat/EnsureThatStringExtensions.cs +++ b/src/projects/EnsureThat/EnsureThatStringExtensions.cs @@ -18,10 +18,6 @@ public static void IsNotNullOrEmpty(this in StringParam param) public static void IsNotEmptyOrWhiteSpace(this in StringParam param) => Ensure.String.IsNotEmptyOrWhiteSpace(param.Value, param.Name, param.OptsFn); - [Obsolete("This method will soon be deprecated. Use IsNotEmptyOrWhiteSpace instead.")] - public static void IsNotEmptyOrWhitespace(this in StringParam param) - => Ensure.String.IsNotEmptyOrWhiteSpace(param.Value, param.Name, param.OptsFn); - public static void IsNotEmpty(this in StringParam param) => Ensure.String.IsNotEmpty(param.Value, param.Name, param.OptsFn);