-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
Area-CompilersConcept-APIThis issue involves adding, removing, clarification, or modification of an API.This issue involves adding, removing, clarification, or modification of an API.Feature Requesthelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Description
I would like to display class symbol similar how it is displayed on docs.microsoft.com.
For example if I have public static generic class with a constraint I would like to get:
public static class Foo<T> where T : Bar
But with current SymbolDisplayFormat I can get only:
class Foo<T> where T : Bar
There are options:
SymbolDisplayMemberOptions.IncludeModifiers
SymbolDisplayMemberOptions.IncludeAccessibility
but they are not applicable for a type declaration.
So I would propose to add a new options such as:
[Flags]
public enum SymbolDisplayTypeDeclarationOptions
{
None = 0,
IncludeModifiers = 1,
IncludeAccessibility = 2
}
or extend SymbolDisplayMiscellaneousOptions
.
paulomorgado and reflectronic
Metadata
Metadata
Assignees
Labels
Area-CompilersConcept-APIThis issue involves adding, removing, clarification, or modification of an API.This issue involves adding, removing, clarification, or modification of an API.Feature Requesthelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it