Dotnet-api-docs: List DayOfWeek enum by value instead of alphabetized by name

Created on 8 May 2020  路  2Comments  路  Source: dotnet/dotnet-api-docs

Fields should not be alphabetized and instead follow the order:

  • Sunday - 0
  • Monday - 1
  • Tuesday - 2
  • Wednesday - 3
  • Thursday - 4
  • Friday - 5
  • Saturday - 6

https://github.com/dotnet/dotnet-api-docs/blob/b4ec0e45b0e446a1f632ff4c9eca1753d3c377b0/xml/System/DayOfWeek.xml#L68

Not Triaged Pri3 area-Infrastructure

Most helpful comment

The order of enum fields is auto-generated and I don't think we can customize it for a given enum. I have let @mimisasouvanh know about this request so hopefully we can implement it system-wide.

All 2 comments

The order of enum fields is auto-generated and I don't think we can customize it for a given enum. I have let @mimisasouvanh know about this request so hopefully we can implement it system-wide.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gewarren picture gewarren  路  4Comments

martinmeeser picture martinmeeser  路  3Comments

FierceLlama picture FierceLlama  路  3Comments

brettrowberry picture brettrowberry  路  5Comments

dotMorten picture dotMorten  路  3Comments