public sealed class C : INotifyPropertyChanged
{
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
public event PropertyChangedEventHandler PropertyChanged;
}
To avoid:
#pragma warning disable CS0067 // The event is never used
public event PropertyChangedEventHandler PropertyChanged;
#pragma warning restore CS0067
There are memory leaks when binding to properties on members that do not implement INotifyPropertyChanged maybe it was fixed but no huge harm in implementing the interface and legacy.
To avoid:
There are memory leaks when binding to properties on members that do not implement
INotifyPropertyChangedmaybe it was fixed but no huge harm in implementing the interface and legacy.