Skip to content

Commit 1398d3d

Browse files
Lorenzo Solano MartinezLorenzo Solano Martinez
authored andcommitted
Removing Sonar issues
1 parent 29127af commit 1398d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validations/ArgumentsHelpers/Extensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal static T CheckOrInvalidOperationException<T>([NotNull] this T? stateEle
2525
?? throw new InvalidOperationException($"Operation not allowed when {elementName} is null.");
2626

2727
[return: NotNull]
28-
internal static string CheckNotZeroLength([NotNull] this string? value, [CallerArgumentExpression(nameof(value))] string paramName = "")
28+
internal static string CheckNotZeroLength([NotNull] this string? value, string paramName)
2929
=> CheckWithParamName(value, paramName)
3030
.DoCheckNotZeroLength(paramName, "Can not be empty (zero length).");
3131

0 commit comments

Comments
 (0)