Add MarkupExtensionReturnType attribute
ProprietaryA MarkupExtension that overrides ProvideValue should be annotated with [MarkupExtensionReturnType(typeof(T))] so XAML tooling knows what the extension yields. Adds the attribute when the returned type can be determined from ProvideValue.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. AddMarkupExtensionReturnTypeAttributemod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. AddMarkupExtensionReturnTypeAttributeInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.