We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29127af commit 1398d3dCopy full SHA for 1398d3d
src/Validations/ArgumentsHelpers/Extensions.cs
@@ -25,7 +25,7 @@ internal static T CheckOrInvalidOperationException<T>([NotNull] this T? stateEle
25
?? throw new InvalidOperationException($"Operation not allowed when {elementName} is null.");
26
27
[return: NotNull]
28
- internal static string CheckNotZeroLength([NotNull] this string? value, [CallerArgumentExpression(nameof(value))] string paramName = "")
+ internal static string CheckNotZeroLength([NotNull] this string? value, string paramName)
29
=> CheckWithParamName(value, paramName)
30
.DoCheckNotZeroLength(paramName, "Can not be empty (zero length).");
31
0 commit comments