Description
Null-guards should be normalized to the preferred project style (Throw, BCL, or Portable).Bad Code
Good Code
Properties
- Category: Style
- Severity: Info
- Enabled by default: True
- Code fix available: True
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Null-guards should be normalized to the preferred project style
ArgumentNullException.ThrowIfNull(param);
Throw.IfNull(param);
dotnet_diagnostic.AL0015.severity = warning
Was this page helpful?
