Proposal: introduce a new class visibility keyword analogous to the recent "file", but with "directory"-level scope #9485
-
The current Introducing a For example:
A class declared with the What do you think about it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Have you seen this proposal to add 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. |
Beta Was this translation helpful? Give feedback.
Have you seen this proposal to add
namespace
andprivate
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.