chore: refactor for sonarqube issues
SonarQube Analysis / sonarqube (pull_request) Successful in 6m3s
SonarQube Analysis / sonarqube (pull_request) Successful in 6m3s
This commit is contained in:
@@ -48,7 +48,7 @@ public static class StringExtensions
|
||||
|
||||
if (aCharCount < 0)
|
||||
{
|
||||
throw new ArgumentException();
|
||||
throw new ArgumentException("Character count cannot be negative.", nameof(aCharCount));
|
||||
}
|
||||
|
||||
if (aCharCount == 0)
|
||||
@@ -75,7 +75,7 @@ public static class StringExtensions
|
||||
|
||||
if (aCharCount < 0)
|
||||
{
|
||||
throw new ArgumentException();
|
||||
throw new ArgumentException("Character count cannot be negative.", nameof(aCharCount));
|
||||
}
|
||||
|
||||
if (aCharCount == 0)
|
||||
|
||||
Reference in New Issue
Block a user