Description
UseGuard.NotNullOrEmpty() instead of verbose null-or-empty check and throw patterns. The guard helper is more concise and consistent.
Bad Code
Good Code
Properties
- Category: Roslyn Utilities
- Severity: Warning
- Enabled by default: True
- Code fix available: True
