For example Window_Loaded, it is being referenced by MainWindow.g.i.cs, like this:
((Showcase.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
And these events have to be instance methods, see: https://msdn.microsoft.com/en-us/library/cc221357%28v=VS.95%29.aspx
We could check for them being passed to RoutedEventHandler, and ignore them.
Original description:
Similar to #451
It seems that xaml haven't be resolved.
There may be information in .g.i.cs .
For example
Window_Loaded, it is being referenced byMainWindow.g.i.cs, like this:And these events have to be instance methods, see: https://msdn.microsoft.com/en-us/library/cc221357%28v=VS.95%29.aspx
We could check for them being passed to
RoutedEventHandler, and ignore them.Original description: