diff --git a/src/Readme.txt b/src/Readme.txt index 21c96615..2393de84 100644 --- a/src/Readme.txt +++ b/src/Readme.txt @@ -67,6 +67,10 @@ For further details take a look at LICENSE.txt. CHANGELOG +5.3.6.0 + + * Fix: #676: Fixed issue with Cobertura files with empty class names + 5.3.5.0 * New: #663: Improved support for Cobertura files generated by "Microsoft CodeCoverage" diff --git a/src/ReportGenerator.Core/Parser/ClassNameParser.cs b/src/ReportGenerator.Core/Parser/ClassNameParser.cs index 653289fe..ca6c8f59 100644 --- a/src/ReportGenerator.Core/Parser/ClassNameParser.cs +++ b/src/ReportGenerator.Core/Parser/ClassNameParser.cs @@ -26,7 +26,7 @@ internal static class ClassNameParser /// The parser result. public static ClassNameParserResult ParseClassName(string rawName, bool rawMode) { - if (string.IsNullOrEmpty(rawName)) + if (rawName == null) { throw new ArgumentNullException(nameof(rawName)); }