Version
- Tags:
- analysis
- class properties
CA013 - Exported creation procedure
Description
If acreation procedure is exported then it may be called by clients after the object has been created. Usually, this is not intended. A client might, for example, by accident call
Scope class Status Enabled Severity Warning Applicability All Score 50
Example of violation
Recommendation
Make sure to export the creation procedure to NONE.
In the example, add the export to NONE after the feature clause:
Back to Rules