-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated code in latest version not compiling/missing OnPropertyChanged #39
Comments
Thanks! I've unlisted v1.1.0 until I get a chance to look into this |
Maybe related, is this a typo on line 69?
|
When I cloned the repository (master branch) and manually packaged the project (dotnet pack) and used it in my project, everything works fine. There are no errors. |
Good spot, thanks. It shouldn't be possible to actually hit that code path: we only generate an |
No problem but are you sure about that though? The example in the quick start doesn't add the interface. Isn't it supposed to be added by the source generator then? |
|
🤦 I misread changing for changed, typical MS to make such confusing names 😆 |
Description
After upgrading to 1.1.0,
OnPropertyChanged
either does not get called, orPropertyChanged.SourceGenerator.Internal.EventArgsCache.PropertyChanged_PropertyName
gets passed instead of property name.To Reproduce
This only generated
OnPropertyChanging
, but notOnPropertyChanged
.Version Info
Additional Info
Upgrading to this version also caused various issues in Rider.
I had to clear caches/restart it multiple times to even reproduce the simple case.
The text was updated successfully, but these errors were encountered: