Target of [XamlSetMarkupExtension] should exist and have correct signature

Proprietary

[XamlSetMarkupExtension] names its handler as a string, so a missing method or a wrong signature is only discovered when XAML is loaded. Flags the attribute when no void Handler(object, XamlSetMarkupExtensionEventArgs) is reachable on the type.

OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.XamlSetMarkupExtensionTargetShouldExist
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.XamlSetMarkupExtensionTargetShouldExist

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.