Skip to content

Commit 16eaf9a

Browse files
committed
Fix merging of classes with non unique names.
1 parent 78a1a92 commit 16eaf9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReportGenerator.Core/Parser/Analysis/Assembly.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ internal void Merge(Assembly assembly)
177177

178178
foreach (var @class in assembly.classes)
179179
{
180-
var existingClass = this.classes.FirstOrDefault(c => c.Name == @class.Name);
180+
var existingClass = this.classes.FirstOrDefault(c => c.Equals(@class));
181181

182182
if (existingClass != null)
183183
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy