Diagnostics reported by Metalama.Patterns.Immutability.
| Article | Description |
|---|---|
| LAMA5020: The field of an immutable type must be read-only | A field of a type marked with [Immutable] isn't read-only. |
| LAMA5021: The property of an immutable type must not have a setter | An automatic property of a type marked with [Immutable] has a setter. |
| LAMA5022: The field or property of a deeply immutable type must be deeply immutable | A field or property of a type marked with [Immutable(ImmutabilityKind.Deep)] isn't of a deeply immutable type. |