Skip to content

Generated code in latest version not compiling/missing OnPropertyChanged #39

Description

@VMelnalksnis

Description
After upgrading to 1.1.0, OnPropertyChanged either does not get called, or PropertyChanged.SourceGenerator.Internal.EventArgsCache.PropertyChanged_PropertyName gets passed instead of property name.

To Reproduce
This only generated OnPropertyChanging, but not OnPropertyChanged.

public sealed partial class TestModel
{
	[Notify]
	private decimal _total;
}

Version Info

  • PropertyChanged.SourceGenerator version: 1.1.0
  • Roslyn Version: Compiler version: '4.5.0-6.23127.3 (e2bc27d2)'. Language version: 11.0.

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions