Skip to content

Commit

Permalink
Fix merging of classes with non unique names.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Sep 28, 2024
1 parent 78a1a92 commit 16eaf9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReportGenerator.Core/Parser/Analysis/Assembly.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ internal void Merge(Assembly assembly)

foreach (var @class in assembly.classes)
{
var existingClass = this.classes.FirstOrDefault(c => c.Name == @class.Name);
var existingClass = this.classes.FirstOrDefault(c => c.Equals(@class));

if (existingClass != null)
{
Expand Down

0 comments on commit 16eaf9a

Please sign in to comment.