Open sandboxFocusImprove this doc

Serialization errors and warnings

Diagnostics about converting compile-time values into run-time code, and about the serialization of aspects and fabrics across projects.

Article Description
LAMA0200: The compile-time value can't be converted to a run-time value A compile-time value whose type can't be converted to run-time code is used where a run-time value is expected.
LAMA0201: The compile-time value contains a cyclic reference A compile-time value converted to run-time code contains a cyclic reference or is nested too deeply.
LAMA0202: A multidimensional array can't be converted to a run-time value A compile-time multidimensional array is converted to a run-time value.
LAMA0203: The equality comparer of the dictionary isn't supported A compile-time dictionary with a custom equality comparer is converted to a run-time value.
LAMA0204: The serializable base type from a referenced project has no usable constructor A serializable base type from a referenced project has no constructor that the generated serializer can call.
LAMA0205: The non-serializable base type has no parameterless constructor A serializable type derives from a non-serializable base type that has no parameterless constructor.
LAMA0207: The serializer of the base type has no accessible parameterless constructor The manual serializer of a base type has no public or protected parameterless constructor, so the serializers of derived types can't derive from it.
LAMA0208: A serializable type can't declare several serializers A compile-time serializable type declares more than one nested serializer.
LAMA0209: The base type declares several serializers The base type of a compile-time serializable type declares more than one nested serializer.
LAMA0210: Metalama can't generate a serializer for a positional record Metalama can't generate a serializer for a positional record that implements ICompileTimeSerializable.