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

Accessible readonly fields are reported twice #574

Closed
sharwell opened this issue Mar 28, 2015 · 2 comments · Fixed by #869
Closed

Accessible readonly fields are reported twice #574

sharwell opened this issue Mar 28, 2015 · 2 comments · Fixed by #869
Assignees
Milestone

Comments

@sharwell
Copy link
Member

Currently an externally-accessible readonly fields is reported as both SA1304 and SA1307. In this case, only SA1307 should be reported (see #557 for more information).

I'm marking this as enhancement instead of bug because the reference implementation of StyleCop reports both warnings for this case. We are only reporting one to simplify the presentation and code fix for users.

@pdelvo
Copy link
Member

pdelvo commented May 21, 2015

Im working on this

@vweijsters
Copy link
Contributor

@pdelvo Have a look at #861 and use the same mechanism when disabling part of SA1304 please.

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

Successfully merging a pull request may close this issue.

3 participants