Skip to content

Proposal: introduce a new class visibility keyword analogous to the recent "file", but with "directory"-level scope #9485

Discussion options

You must be logged in to vote

Have you seen this proposal to add namespace and private modifiers? That is similar in intent to what you're proposing here. Essentially more knobs for isolating code based on the existing structure.

For this specifically, I'm pretty skeptical about introducing the idea of C# language semantics being tied to physical file structures. I think it would be better to lean into other mechanisms for new code isolation knobs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FrancescoBonizzi
Comment options

Answer selected by FrancescoBonizzi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants