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

fix: Fixed CS1591 warnings about missing XML comments #68

Closed
wants to merge 4 commits into from

Conversation

OhFlowi
Copy link
Contributor

@OhFlowi OhFlowi commented Mar 8, 2024

Fixes #66

@EngRajabi
Copy link
Owner

please fix conflict

@@ -0,0 +1,21 @@
namespace Supernova.Enum.Generators;

public static class EnumGeneratorAttributeHelper
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there a special reason that you separated these features from the SourceGeneratorHelper class?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This separation follows the single responsibility principle and helps keep the project organized. Based on the file name, it is now clear what this file does without having to open it.

namespace " + SourceGeneratorHelper.NameSpace + @"
{
[AttributeUsage(AttributeTargets.Enum)]
[GeneratedCodeAttribute(""Supernova.Enum.Generators"", null)]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does adding Generated Code Attribute make a special change?

Copy link
Contributor Author

@OhFlowi OhFlowi Mar 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a support attribute for tools that use Reflection for analysis. Does the same thing as the auto-generated tag for tools that not uses a Reflection approach.

@OhFlowi
Copy link
Contributor Author

OhFlowi commented Mar 10, 2024

Master merged into branch

@EngRajabi
Copy link
Owner

fix with commit
95ab4ef

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

Successfully merging this pull request may close these issues.

Warning CS1591 : Missing XML comment for publicly visible type or member 'DirectionEnumExtensions'
2 participants