Messages reported by PostSharp.Patterns.Xaml: dependency properties, attached properties and commands.
| Message | Severity | Description |
|---|---|---|
| XAM050 | Error | A dependency or attached property is declared in a class that does not derive from DependencyObject. |
| XAM051 | Error | The [DependencyProperty] aspect is applied to a static property, a property with a private getter, or a field. |
| XAM052 | Error | The [AttachedProperty] aspect is applied to something other than a public static property of the generic Attached type. |
| XAM053 | Error | The ValidateValueMethod of a dependency or attached property names a method that the class does not declare. |
| XAM054 | Error | The class declares several methods with the name of the validation or change handler method of a dependency property. |
| XAM055 | Error | The validation method of a dependency or attached property has parameters that the aspect does not support. |
| XAM057 | Error | A [DependencyProperty] or [AttachedProperty] aspect names a change handler that the class does not declare. |
| XAM058 | Error | The change handler of a dependency or attached property has parameters that the aspect does not support. |
| XAM059 | Error | The change handler or the validation method of an attached property is not static. |
| XAM070 | Error | The [Command] aspect is applied to a static property or to a property of another type than ICommand. |
| XAM071 | Error | A [Command] aspect names an Execute or CanExecute member that the class does not declare. |
| XAM072 | Error | A [Command] aspect sets both a CanExecute method and a CanExecute property. |
| XAM075 | Error | Several methods of the class match the Execute or CanExecute method of a [Command] property. |
| XAM077 | Error | The Execute method of a [Command] property does not return void, is static, or has several parameters. |
| XAM078 | Error | The CanExecute method of a command is static, does not return bool, or has more than one parameter. |
| XAM079 | Error | The CanExecute property of a command is not of type bool, has no getter, or is static or private. |
| XAM080 | Error | A command property that is not automatic lacks a getter or a setter. |
| XAM081 | Error | The class of a command property declares no method that follows the naming convention of the Execute method. |