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

Fix AddClasses method to take only public classes not private #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AntonyNET
Copy link

Documentation of method IImplementationTypeSelector.AddClasses(Action action) says that "Adds all public, non-abstract classes from the selected assemblies that" but in implementation this method takes private classes too:
AddClasses(action, publicOnly: false).

Sync code with documentation.

@khellang
Copy link
Owner

khellang commented Nov 9, 2024

Hmm. It's really unfortunate that the different overloads have different behaviors. No clue how it ended up that way. But this is a pretty big breaking change, as code that previously resolved fine, would now start throwing. I need to consider this for a bit 😅

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

Successfully merging this pull request may close these issues.

2 participants