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

docfx output includes protected members #2367

Closed
avspeed opened this issue Jan 22, 2018 · 2 comments
Closed

docfx output includes protected members #2367

avspeed opened this issue Jan 22, 2018 · 2 comments

Comments

@avspeed
Copy link

avspeed commented Jan 22, 2018

DocFX Version Used:
2.30
Template used: (default or statictoc or contain custom template)
default
Steps to Reproduce:
I have generated documentation for a project and the output contains some protected members..
What would cause that ? I thought that only public were included

Expected Behavior:
only public members in the output
Actual Behavior:
protected members are included

@vwxyzh
Copy link
Contributor

vwxyzh commented Jan 23, 2018

@avspeed
It is as design.
The reason is: when inheriting the class, you can find the protected members.
Hint: protected members in sealed class will be removed.

@avspeed
Copy link
Author

avspeed commented Jan 23, 2018

@vwxyzh ok thank you.

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

2 participants