Skip to content

Commit 5a5d753

Browse files
committed
Improved OpenCover support
1 parent f57a1df commit 5a5d753

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Readme.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ For further details take a look at LICENSE.txt.
6666

6767
CHANGELOG
6868

69+
5.1.20.0
70+
71+
* Fix: Improved OpenCover support
72+
6973
5.1.19.0
7074

7175
* New: #595: Added new report type 'Html_BlueRed' to improve red-green colorblind accessibility

src/ReportGenerator.Core/Parser/OpenCoverParser.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ private Assembly ProcessAssembly(IDictionary<string, XElement[]> assemblyModules
138138
.Elements("Classes")
139139
.Elements("Class")
140140
.Where(c => c.Attribute("skippedDueTo") == null)
141+
.Where(c => !c.Element("FullName").Value.Contains("<>f__AnonymousType"))
141142
.Where(c => c.Element("Methods").Elements("Method").Any())
142143
.Select(c =>
143144
{

0 commit comments

Comments
 (0)