Skip to content

Commit

Permalink
Fix multiple occurrences of the same property
Browse files Browse the repository at this point in the history
This appeared in IPatternCaseClauseOperation in Details view
  • Loading branch information
Rekkonnect committed Aug 3, 2024
1 parent 6d61290 commit cdb5b5a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public override PropertyFilterResult FilterForType(Type type)
var filteredInterfaces = filteredInterface.GetInterfaces()
.ConcatSingleValue(filteredInterface);
var properties = filteredInterfaces.SelectMany(
@interface => base.FilterForType(@interface).Properties);
@interface => base.FilterForType(@interface).Properties)
.DistinctBy(s => s.Name);

return new()
{
Expand Down

0 comments on commit cdb5b5a

Please sign in to comment.