-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to control if unused members shoudl be faded out. #76520
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit surprised we went with this option instead of just reusing the option we already have, but either way gets the job done. A couple issues found.
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/CodeStyle/FadingOptions.cs
Outdated
Show resolved
Hide resolved
@@ -1621,7 +1621,7 @@ parseOptions:=Nothing, | |||
compilationOptions:=Nothing, | |||
options:=Nothing, | |||
"IDE0051", | |||
DiagnosticSeverity.Info, | |||
DiagnosticSeverity.Hidden, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 The default severity for this should probably not change
…Style/FadingOptions.cs Co-authored-by: Sam Harwell <[email protected]>
Fixes #76396
Looks like: