Skip to content
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

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

joperezr
Copy link
Member

@joperezr joperezr commented Oct 30, 2023

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

@ghost ghost assigned joperezr Oct 30, 2023
@geeknoid
Copy link
Member

For the record, I strongly disagree with removing this functionality.

@joperezr joperezr merged commit 9f5a930 into release/8.0 Oct 31, 2023
6 checks passed
@joperezr joperezr deleted the joperezr/RemoveEnumStrings branch October 31, 2023 16:43
Comment on lines -64 to -69
| :---------------- | :---------- |
| `ENUMSTRGEN000` | Invalid extension namespace |
| `ENUMSTRGEN001` | Invalid attribute constructor used |
| `ENUMSTRGEN002` | Invalid extension class name |
| `ENUMSTRGEN003` | Invalid extension method name |
| `ENUMSTRGEN004` | Invalid enum type specified |
Copy link
Member

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?

Copy link
Member Author

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",
Copy link
Member

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.

Copy link
Member Author

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants