View on GitHub

Arnolyzer

Clean-code Roslyn-based analyzer for C# 6

Arnolyzer on nuget

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.