7 lines
641 B
Plaintext
7 lines
641 B
Plaintext
== Why is this an issue?
|
|
|
|
When creating a custom https://learn.microsoft.com/en-us/dotnet/desktop/wpf/advanced/markup-extensions-and-wpf-xaml[Markup Extension] that accepts parameters in WPF, the https://learn.microsoft.com/en-us/dotnet/api/system.windows.markup.constructorargumentattribute[`ConstructorArgument`] markup must be used to identify the discrete properties that match these parameters. However since this is done via a string, the compiler won't give you any warning in case there are typos.
|
|
|
|
|
|
This rule raises an issue when the string argument to `ConstructorArgumentAttribute` doesn't match any parameter of any constructor.
|