roslyn: EditorConfig Option csharp_preferred_modifier_order is missing `const`

We’re missing the const modifier from the list of possible options for csharp_preferred_modifier_order

About this issue

  • Original URL
  • State: open
  • Created 9 years ago
  • Reactions: 1
  • Comments: 18 (12 by maintainers)

Most upvoted comments

If you’re interested in creating the list, go ahead. I can look over it once you do. Right now this is unlikely to get team attention. But we’d def work with a community member on a contribution pr if you are interested.

Great. What is in set B? And what list would you add it to?

Would have to check the language spec. I’m walking now (and in vacation). So it’s likely days out before I can answer that precisely.

It should be easy to find out though by looking at where the parser parses modifiers and the 2-3 places in the compiler where they are validated. From memory, I think anything related to ordering is checked in the parser. But I could be very wrong on that. So don’t hold me to it.