Another question is whether we would allow other members to be partial. We would need to work out the syntax in each case: E.g. how do you distinguish a partial property definition from a declaration that implements it as an auto-property?
Presumably using the partial keyword on the property just like methods? What other syntax could there possibly be? What else could such a syntax possibly mean?
On the other hand we are not ready to allow partial on other kinds of members. If future scenario bear out a strong need, we will do the design work to hash it out, but we think methods are able to address the vast majority of what's needed.
Here is a list of requests with the aim of simplifying usage of NotifyPropertyChanged:
#2657
#821 (see #821 (comment))
#3329 (comment)
#2976
#1419
Writing NotifyPropertyChanged for properties which could otherwise be auto properties is clearly a significant burden for users, and partial properties + source generators are the perfect solution.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4