canton7 / PropertyChanged.SourceGenerator

Powerful INotifyPropertyChanged / INotifyPropertyChanging Source Generator, which generates INPC boilerplate for you as part of your build. Supports features such as automatic and manual dependencies between properties, notifications when specific properties change, and more.
MIT License
138 stars 14 forks source link

Fix for sealed type #11

Closed yinyue200 closed 2 years ago

yinyue200 commented 2 years ago

Support sealed type.

canton7 commented 2 years ago

Thanks!

I'm not going to merge this, just because I'm currently re-working how the OnPropertyChanged generating mechanism works, which this will conflict with.

This is why the PR template, which you deleted, says to open an issue first :)

However, I'll leave this open as a reminder to revisit this.

canton7 commented 2 years ago

Fixed in 145dfeb4d7507cff8f6581a901a2bf6c62ad311f