-
Notifications
You must be signed in to change notification settings - Fork 751
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
Removing Microsoft.Extensions.EnumStrings #4639
Conversation
For the record, I strongly disagree with removing this functionality. |
| :---------------- | :---------- | | ||
| `ENUMSTRGEN000` | Invalid extension namespace | | ||
| `ENUMSTRGEN001` | Invalid attribute constructor used | | ||
| `ENUMSTRGEN002` | Invalid extension class name | | ||
| `ENUMSTRGEN003` | Invalid extension method name | | ||
| `ENUMSTRGEN004` | Invalid enum type specified | |
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.
@joperezr have you deleted these from aka.ms?
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.
No. Can you please log an issue for that?
@@ -64,14 +64,6 @@ internal static class DiagDescriptors | |||
description: Resources.ArraysDescription, | |||
defaultSeverity: DiagnosticSeverity.Warning); | |||
|
|||
public static DiagnosticDescriptor EnumStrings { get; } = Make( | |||
id: "EA0006", |
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.
ditto
The change also needs to be reflected in docs/list-of-diagnostics.md.
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.
Same here, would you mind logging an issue to clean things up if they weren't from this?
cc: @geeknoid
As discussed offline, removing EnumStrings for now in favor of adding this functionality in .NET 9 as part of the platform using new roslyn features.
Microsoft Reviewers: Open in CodeFlow