Diagnostics reported by Metalama.Patterns.Observability.
| Article | Description |
|---|---|
| LAMA5150: The OnPropertyChanged method is missing or can't be overridden | A class with an existing PropertyChanged event has no overridable OnPropertyChanged method. |
| LAMA5151: The InpcDiagnosticCommentVerbosity project property has an invalid value | The InpcDiagnosticCommentVerbosity project property has an invalid value. |
| LAMA5152: A field or property has a struct type that implements INotifyPropertyChanged | The type of an observable field or property is a struct that implements INotifyPropertyChanged. |
| LAMA5154: The Observable aspect doesn't support virtual properties | An observable class has a virtual property, which the [Observable] aspect doesn't support. |
| LAMA5155: An observable type can't hide a base member with new | An observable type declares a field or property that hides a base member with the new modifier. |
| LAMA5156: The OnPropertyChanged(string) method is missing | A class that already implements INotifyPropertyChanged has no OnPropertyChanged(string) method the aspect can call. |
| LAMA5161: The members of a child object can't be observed | A property depends on a member of a child object whose type doesn't implement INotifyPropertyChanged. |
| LAMA5162: The method called by a computed property isn't known to be constant | A computed property calls a method that isn't known to be constant. |
| LAMA5163: The property can't be observed through a computed property | A computed property reads a child of another computed property of the same type. |
| LAMA5164: The computed property reads a field that can't be observed | A computed property reads a field that can't be observed, such as a public or static field. |
| LAMA5165: A computed property uses a local variable of a mutable type | The getter of a computed property declares a local variable of a type that isn't immutable. |
| LAMA5166: A property of a base type can't be observed | A computed property reads a property of a base type that doesn't implement INotifyPropertyChanged. |