dotnet / dotnet/docfx

[Bug] Indexer location in property list is incorrect

Open
#9,014 2 comments 1 reaction 0 assignees View on GitHub
dotnet: csharp
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 11m
Merged PRs (30d)
10

Description

The indexer shows up at the bottom of the property list in the TOC. On the class page I'm not sure what determines where it goes in the property list, but it should be in the same place as the TOC, not in the middle of the other properties:

![image](https://github.com/dotnet/docfx/assets/1700111/3de33dfc-453e-4468-8a4c-90a7bd0aa156)

Would also be nice if the TOC text was `this[]` instead of just `this` to indicate that it is an indexer.

**Context (please complete the following information):**
- OS: Windows
- Docfx version: 2.67.5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.