Diagnostic code · ARA0701
Type must be partial
A type extended by the generator, or one of its enclosing types, is not partial. Registration code cannot be generated correctly; compilation fails and the last good module keeps running.
Common causes
- A component, resource, cue, behaviour, command or system container lacks
partial. - A nested generated type has an enclosing declaration without
partial.
Fixes
Add
partialto every declaration of the named type and to each enclosing type extended by the generator.Code:
ARA0701Constant:
cs::NOT_PARTIALReported by: Ara.Generators