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

Spacing issue not detected in expression-bodied members #1764

Closed
bexxx opened this issue Nov 12, 2015 · 1 comment
Closed

Spacing issue not detected in expression-bodied members #1764

bexxx opened this issue Nov 12, 2015 · 1 comment
Assignees
Milestone

Comments

@bexxx
Copy link
Collaborator

bexxx commented Nov 12, 2015

namespace NS1
{
    public static class C1
    {
        public static string Title =>Localization.GetLocalizedString("SetupTitle");
    }
}

The missing space around => is not identified by the current rules (before and after are not detected).

@sharwell sharwell changed the title Spacing issue not detected in lambda syntax for read only properties (C#6) Spacing issue not detected in expression-bodied members Nov 13, 2015
@bexxx
Copy link
Collaborator Author

bexxx commented Nov 15, 2015

I'll make a SA1003 out of it + add quick fixes.

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

No branches or pull requests

2 participants