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

SA1618 reported for non-exposed members even when documentInternalElements is false #2446

Closed
m-akinc opened this issue Jun 19, 2017 · 1 comment
Assignees
Milestone

Comments

@m-akinc
Copy link

m-akinc commented Jun 19, 2017

When the documentInternalElements or documentPrivateElements option is set to false, SA1618:GenericTypeParametersMustBeDocumented should never be reported for those non-public members which are exempted from the documentation requirement. As expected, there is no reported violation for:

private T Foo<T>()

However, it is reported in the following examples:

///
private T Foo<T>()
/**
 *
 */
private T Foo<T>()
@sharwell sharwell added the bug label Jun 20, 2017
@sharwell sharwell added this to the 1.1.0 milestone Jun 20, 2017
@sharwell sharwell self-assigned this Jun 20, 2017
sharwell added a commit to sharwell/StyleCopAnalyzers that referenced this issue Jun 20, 2017
sharwell added a commit to sharwell/StyleCopAnalyzers that referenced this issue Jun 20, 2017
@sharwell
Copy link
Member

📝 This was filed per a request in #2361.

@sharwell sharwell changed the title SA1618 reported for non-exposed members even when documentInternalMembers is false SA1618 reported for non-exposed members even when documentInternalElements is false Jun 20, 2017
@sharwell sharwell modified the milestones: 1.1.0, 1.1.0 Beta 4 Jun 20, 2017
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