Open sandboxFocusImprove this doc

Architecture verification errors and warnings

Diagnostics reported by Metalama.Extensions.Architecture and Metalama.Extensions.Validation.

Article Description
LAMA0900: Non-experimental code uses an experimental API Code that isn't experimental uses a declaration marked as experimental.
LAMA0901: The interface can only be implemented by the project that defines it A type implements an interface that only its defining project is allowed to implement.
LAMA0902: The naming convention pattern isn't a valid regular expression The pattern of a regular-expression naming convention isn't a valid regular expression.
LAMA0903: The derived type doesn't respect the naming convention of its base type The name of a derived type doesn't match the naming convention set on its base class or interface.
LAMA0904: The usage validation attribute doesn't define any scope A usage validation attribute doesn't define the scope to which the rule applies.
LAMA0905: The declaration can't be used from this context A declaration is used from a context that an architecture rule doesn't allow.
LAMA0906: The declaration doesn't respect the naming convention set by a fabric The name of a declaration doesn't match the naming convention set by a fabric.
LAMA0907: The exclusion predicate type is invalid The type assigned to the ExclusionPredicateType property isn't derived from ReferencePredicate.
LAMA0908: The exclusion predicate type must have a constructor accepting a ReferencePredicateBuilder The type assigned to the ExclusionPredicateType property has no public constructor accepting a ReferencePredicateBuilder.