VS2022 Attributes on first property in Mercury Class has a different color than the rest


I’ve noticed in Visual Studio that any attributes for the first property in a class appear as a different color than other property attributes. In this example, the first attribute appears in black, but subsequent ones appear as purple.

Other than making me look twice to see if I’ve spelled something wrong, this is obviously cosmetic and unimportant. Also, if it helps: if I add a second attribute to that first property, both appear as black.


Curious. i’m guessing one of them gets treated as XML literal by the highlighter/

Logged as bugs://E26032.

bugs://E26032 was closed as fixed.