Roslyn Source Analyzers
CY1000 - No parameterless constructor found
A type inheriting from ConfinityEntity must have a parameterless constructor (can be private).
CY1001 - Missing modifiers found
ConfinityContent class must be sealed or abstract.
CY1002 - Wrong constructor argument names
A type inheriting from ConfinitySelectable must have a constructor matching ctor(string id, string? label, int sortIndex = 0). The parameters label and sortIndex are optional.
CY1003 - Invalid navigation property
Using required navigation to access an entity that has PermissionOption.All defined may lead to unexpected results.
See Permissions / Navigation properties
CY1005 - Missing foreign key id
Confinity needs explicitly defined foreign key properties for all navigation properties. Use the code fix Generate foreign key property for a quick solution.
CY1006 - Always use non-nullable ICollection<T>
All collections in a ConfinityContent must be non-nullable and of type ICollection<T> with a default value.
CY1007 - Properties must have a default value
All non-nullable properties in a ConfinityContent must have a default value.
CY1008 - Property collection types can't inherit from ConfinityEntity
Collection property types in a ConfinityContent must not inherit from ConfinityEntity. Instead, wrap the entity with a EntityRef<T>.
CY1009 - Property types can't inherit from ConfinityEntity
Property types in a ConfinityContent must not inherit from ConfinityEntity. Instead, wrap the entity with a EntityRef<T>.
CY1010 - Nullable properties must not have a default value.
All nullable properties in a ConfinityContent must not have a default value.