Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
// csharp_style_throw_expression = true this.s = s ?? throw new ArgumentNullException(nameof(s)); // csharp_style_throw_expression = false if (s == null) { throw new ArgumentNullException(nameof(s)); } this.s = s;
For reference: [IDE0016: Use throw expression - .NET | Microsoft Docs|https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0016]
Attachments
Issue Links
- links to