Skip to main content
Source: Al0050UseGuardNotEmptyGuidAnalyzer.cs

Description

Use Guard.NotEmpty() instead of verbose empty-GUID check and throw patterns.

Bad Code

Good Code

Properties

  • Category: Roslyn Utilities
  • Severity: Warning
  • Enabled by default: True
  • Code fix available: True

Configuration