internal void AddDependent(DependentProperty dp) => _dependents.Add(dp);
 public RecordDefinition(StructDeclarationSyntax decl, CodeGenerationOptions options)
 {
     Properties          = SimpleProperty.New(decl, options).ToArray();
     DependentProperties = DependentProperty.New(decl, Properties, options).ToArray();
     Options             = options;
 }