Could syntax like this allow for nested partial types to be possible without the parent type being partial? #7595
Unanswered
nathanAjacobs
asked this question in
Language Ideas
Replies: 1 comment 5 replies
-
Our view is that types must be marked partial. That way things cannot be added to them without that being an explicitly opted into thing. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The following syntax would allow source generators to support nested types easily without requiring the parent class to be declared partial.
Beta Was this translation helpful? Give feedback.
All reactions