Skip to content

Commit cdb5b5a

Browse files
committed
Fix multiple occurrences of the same property
This appeared in IPatternCaseClauseOperation in Details view
1 parent 6d61290 commit cdb5b5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Syndiesis/Core/DisplayAnalysis/PublicApiInterfacePropertyFilterCache.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ public override PropertyFilterResult FilterForType(Type type)
3232
var filteredInterfaces = filteredInterface.GetInterfaces()
3333
.ConcatSingleValue(filteredInterface);
3434
var properties = filteredInterfaces.SelectMany(
35-
@interface => base.FilterForType(@interface).Properties);
35+
@interface => base.FilterForType(@interface).Properties)
36+
.DistinctBy(s => s.Name);
3637

3738
return new()
3839
{

0 commit comments

Comments
 (0)