Skip to content

Handle Accessibility Correctly #11

@JasonBock

Description

@JasonBock

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions