-
Notifications
You must be signed in to change notification settings - Fork 5
AA1003StaticMethodsShouldNotCreateState
David Arno edited this page Jul 18, 2016
·
1 revision
Warning: this wiki page is auto-generated by the Arnolyzer solution-build process. Do not directly edit this page, as your changes will be lost on the next commit. To edit this page, please refer to Contributing to this project.
These wiki pages reflect the state of the project in development, per the last commit. For details of the latest release of the Arnolyzer Analysers, please see the Arnolyzer website.
Report code: AA1003-StaticMethodsShouldNotCreateState
| Status | Planned for a future release |
| Description | The only result from calling a static method should be the returned value, or an exception. Therefore it should not invoke any method that has no parameters and/or a void return type, nor write to any field or property. |
| Category | Pure-Function Analyzers |
| Enabled by default: | Yes |
| Severity: | Error |
Not yet implemented.
Not yet implemented.