mono / api-doc-tools

.NET Reference API Toolchain
MIT License
68 stars 48 forks source link

Fix the logic for shouldDelete factor #627

Closed michaeljin89757 closed 2 years ago

michaeljin89757 commented 2 years ago

The factor of this member already has content or not takes no weight in the original logic, "(delete || !hasContent);". If it is delete allowed mode, mdoc will delete this member anyway. Now it is changed to "(delete && !hasContent)" so that if the member has content already, it will not be deleted.