AA2100 - Method Parameters Must Not Be Ref Or Out
Report code: AA2100-MethodParametersMustNotBeRefOrOut
Summary
| Status | Implemented |
| Description | Method parameters must not use REF or OUT parameters; all results should be via a return |
| Category | Single Responsibilty Analyzers |
| Enabled by default: | Yes |
| Severity: | Error |
Cause
out parameters are normally used to return a second value from a method, which in turn is often a sign that the method is
doing more than one thing and thus is breaking the Single Responsibility Principle.
How to fix violations
There currently aren’t any implemented code-fixes for this rule.
How to suppress violations
This rule cannot be suppressed.