XMLWordPrintableJSON

Details

    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

          Activity

            People

              KSchoonover Kyle Schoonover
              KSchoonover Kyle Schoonover
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h