C#-MethodShouldBeDeclaredStaticΒΆ
Instance methods that do not access instance members or other instance methods should be declared static
Required inputs: CSharpAST
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
method_should_be_static |
Method could be declared static. |
None |
False |
Options
This rule shares the following common options: excludes, includes, justification_checker, post_processing, provider, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
This rule has no individual options.