Version Used:
Version 15.8.0 Preview 1.0 [27627.0.d15.8]
Steps to Reproduce:
Expected Behavior:
It would be really helpful if the volatile modifier were shown in the tooltip. When writing low-level concurrent code, knowing whether a field is volatile or not can be really important, and it'd be very helpful if hovering over that field showed the volatility.
Actual Behavior:
The field is volatile:

but volatile is not included in the tool tip.

This feature went to a preliminary design meeting today. It is still pending acceptance from the full team before it's marked 'up-for-grabs'.
const are indicated as 'constant' instead of 'field', and would not be changed as part of a feature that only changed the behavior of fieldsref, are handled as part of the type displaystatic, readonly, volatilenew, unsafeQuick Info will display the modifiers before the word 'field' inside the parentheses. For example, (volatile field) or (static readonly field).
Support for this feature for members other that fields is not required to be included from the start. However, if support does expand beyond fields at all, a new issue should be created for each of the other member types to ensure uniform behavior since a new pattern will be established at that point. The design for each symbol type will vary according to the modifiers supported for that type, but in general should be modeled after the approach described for fields.
The design from https://github.com/dotnet/roslyn/issues/26947#issuecomment-390831445 was approved by the team, so this is now up for grabs. 馃槃
Maybe same for static, abstract, sealed, etc for types and methods?
Is this issue done or can I work on it?
@owlstack There's an existing PR: #30242
Most helpful comment
Initial design review
This feature went to a preliminary design meeting today. It is still pending acceptance from the full team before it's marked 'up-for-grabs'.
Current behavior
constare indicated as 'constant' instead of 'field', and would not be changed as part of a feature that only changed the behavior of fieldsref, are handled as part of the type displayProposed behavior for 'field'
static,readonly,volatilenew,unsafeQuick Info will display the modifiers before the word 'field' inside the parentheses. For example,
(volatile field)or(static readonly field).Expansion to other symbols
Support for this feature for members other that fields is not required to be included from the start. However, if support does expand beyond fields at all, a new issue should be created for each of the other member types to ensure uniform behavior since a new pattern will be established at that point. The design for each symbol type will vary according to the modifiers supported for that type, but in general should be modeled after the approach described for fields.