AA1002 - Static Methods Should Not Access State
Report code: AA1002-StaticMethodsShouldNotAccessState
Summary
| Status | Planned for a future release |
| Description | A static method should only derive a result from the supplied parameter(s). It should not access any static field or property |
| Category | Pure-Function Analyzers |
| Enabled by default: | Yes |
| Severity: | Error |
Cause
How to fix violations
Not yet implemented.
How to suppress violations
Not yet implemented.