private void MapProperties() { var classDef = this.ClassDef; var propDefs = MapPropDefs(); classDef.AddPropDefs(propDefs); }