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

Sort const above static #5

Closed
craigktreasure opened this issue Oct 2, 2023 · 0 comments
Closed

Sort const above static #5

craigktreasure opened this issue Oct 2, 2023 · 0 comments

Comments

@craigktreasure
Copy link
Owner

craigktreasure commented Oct 2, 2023

Version: 0.1.4

Code sample:

public class MyClass
{
    private static readonly int A = 0;

    public const int B = 0;
}

Should sort with const members above static:

public class MyClass
{
    public const int B = 0;

    private static readonly int A = 0;
}
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

No branches or pull requests

1 participant