Language Proposal: fieldof Keyword for C# #9511
-
This proposal introduces a new language keyword fieldof(...) in C#. It enables safe, typed, and controlled access to the backing field of auto-properties without triggering associated logic such as OnPropertyChanged or OnPropertyChanging. This is particularly useful in scenarios involving MVVM patterns, Undo/Redo operations, serialization, and validation, where internal state changes should not result in external behavioral side-effects. More to this, please follow up here to my repo: https://github.com/rudolfstepan/proposals/blob/main/fieldof_proposal/docs/fieldof_proposal_en.md |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
See: #8704 |
Beta Was this translation helpful? Give feedback.
See: #8704