feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Generic interfaces are duplicated in Implements

Open svick opened this issue 3 years ago • 1 comments

Describe the bug

In .Net API reference, generic interfaces implemented by a type are duplicated in the Implements section: once with type parameters as they are used in the interface, once in the open generic form.

To Reproduce Steps to reproduce the behavior:

  1. Go e.g. to the documentation for Int32.
  2. Look at the Implements section.
  3. Notice that many interfaces are listed twice, e.g. IAdditionOperators is listed as both IAdditionOperators<Int32,Int32,Int32> and IAdditionOperators<TSelf,TSelf,TSelf>. This is especially egregious for numeric types like Int32, which already implement many interfaces, so displaying most of them twice makes reading the list especially hard.

Expected behavior Each implemented interface is only listed once.

Screenshots

svick avatar Dec 29 '22 17:12 svick

Thanks @svick. We have an internal work item tracking improvements to the implements list.

gewarren avatar Jan 20 '23 04:01 gewarren