-
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Description
I get INPC006 when used inside Window derived class:
warning INPC006: Found one or more methods called 'OnPropertyChanged' to raise the PropertyChanged event, but they had an unrecognised signatures or were inaccessible. No PropertyChanged events will be raised from this type
warning CS0067: Событие "MainWindow.PropertyChanged" никогда не используется.
To Reproduce
Create WPF project.
Add any [Notify] field to MainWindow.xaml.cs.
Compile.
Version Info
- PropertyChanged.SourceGenerator version: 1.0.6
- Roslyn Version: "4.4.0-3.22518.13 (7856a68c)". Версия языка: 10.0.
Additional Info
class Window is derived from DependencyObject which contains protected virtual void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels