Open sandboxFocusImprove this doc

WPF errors and warnings

Diagnostics reported by Metalama.Patterns.Wpf.

Article Description
LAMA5201: A command can't have both a can-execute method and a can-execute property The [Command] attribute sets both CanExecuteMethod and CanExecuteProperty.
LAMA5202: The can-execute property of a command should be public The can-execute property of a command isn't public, so its change notifications might not reach the command.
LAMA5203: An existing member has the name of the member to introduce An existing member has the name of the command property or registration field that the aspect must introduce.
LAMA5204: A member found by the naming convention has an invalid signature A member found by a WPF naming convention has a signature that the aspect doesn't support.
LAMA5205: Several members match the naming convention Several members match the helper member expected by a WPF naming convention.
LAMA5206: A required helper member wasn't found A helper member that the attribute or the naming convention requires doesn't exist.
LAMA5207: No naming convention matches the target No configured naming convention matches the target of a WPF aspect.
LAMA5208: A synchronous command method can't accept a CancellationToken A synchronous [Command] method has a CancellationToken parameter.