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

Handle Accessibility Correctly #11

Open
JasonBock opened this issue Nov 25, 2022 · 0 comments
Open

Handle Accessibility Correctly #11

JasonBock opened this issue Nov 25, 2022 · 0 comments
Milestone

Comments

@JasonBock
Copy link
Owner

AutoDeconstruct only looks at definitions in the current compilation. However, we need to handle the accessibility correctly. For example, if the target type is internal, the corresponding static Deconstruct extension method should be internal.

It may get complicated if types with the same name (like a generic and non-generic Person) have different accessibility. This may make determining the accessibility of the containing static class difficult.

@JasonBock JasonBock added this to the 1.1.0 milestone Nov 25, 2022
@JasonBock JasonBock modified the milestones: 1.1.0, 1.2.0 Jan 27, 2023
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

1 participant