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

Add support for "magic attributes" #97

Open
sunnamed434 opened this issue Feb 15, 2023 · 0 comments
Open

Add support for "magic attributes" #97

sunnamed434 opened this issue Feb 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sunnamed434
Copy link
Owner

sunnamed434 commented Feb 15, 2023

Summary

Magic attributes such as these, may cause issues

Basic Example

For example, if in file exists such attribute, the renamer protection will break everything

namespace System.Diagnostics.CodeAnalysis
{
    /// <summary>
    /// Specifies that null is allowed as an input even if the corresponding type disallows it.
    /// </summary>
    [global::System.AttributeUsage(
        global::System.AttributeTargets.Field |
        global::System.AttributeTargets.Parameter |
        global::System.AttributeTargets.Property,
        Inherited = false)]
    internal sealed class AllowNullAttribute : global::System.Attribute
    {
    }
}
@sunnamed434 sunnamed434 added the enhancement New feature or request label Feb 15, 2023
@sunnamed434 sunnamed434 added this to the 0.11.0-alpha.20 milestone Feb 15, 2023
@sunnamed434 sunnamed434 removed this from the 0.12.0-alpha.21 milestone Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant