Metalama reports its errors and warnings with an identifier starting with LAMA. Each article in this section explains the cause of a diagnostic and shows how to resolve it, usually with an example that reports the diagnostic and a corrected version of the same code.
Diagnostics reported by the Metalama.Patterns libraries and by Metalama extensions also start with LAMA. For diagnostics that your own aspects report, see Reporting and suppressing diagnostics.
The articles are grouped by the feature or library that reports the diagnostic:
| Article | Description |
|---|---|
| General errors and warnings | Diagnostics about applying aspects, aspect classes and their attributes, eligibility, aspect ordering, fabrics, and the compilation pipeline. |
| Template errors and warnings | Diagnostics about T# templates: compile-time and run-time scopes, unsupported C# constructs, and template parameters. |
| Advising errors and warnings | Diagnostics about advice: overriding and introducing members, implementing interfaces, adding initializers, and conflicts between aspects. |
| Serialization errors and warnings | Diagnostics about converting compile-time values into run-time code, and about the serialization of aspects and fabrics across projects. |
| Design-time errors and warnings | Diagnostics reported by the IDE integration of Metalama. |
| Licensing errors and warnings | Diagnostics about the Metalama license and the features it includes. |
| Architecture verification errors and warnings | Diagnostics reported by Metalama.Extensions.Architecture and Metalama.Extensions.Validation. |
| Durability and immutability errors and warnings | Diagnostics reported by the analyzers that verify the [Durable] and [ImmutableType] contracts of compile-time code. |
| Interceptor errors and warnings | Diagnostics reported by Metalama.Extensions.Interceptors. |
| Dependency injection errors and warnings | Diagnostics reported by Metalama.Extensions.DependencyInjection. |
| Caching errors and warnings | Diagnostics reported by Metalama.Patterns.Caching. |
| Contracts errors and warnings | Diagnostics reported by Metalama.Patterns.Contracts. |
| Immutability errors and warnings | Diagnostics reported by Metalama.Patterns.Immutability. |
| Observability errors and warnings | Diagnostics reported by Metalama.Patterns.Observability. |
| WPF errors and warnings | Diagnostics reported by Metalama.Patterns.Wpf. |