[ 
https://issues.apache.org/jira/browse/AVRO-3490?focusedWorklogId=760277&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-760277
 ]

ASF GitHub Bot logged work on AVRO-3490:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Apr/22 18:19
            Start Date: 21/Apr/22 18:19
    Worklog Time Spent: 10m 
      Work Description: martin-g commented on PR #1644:
URL: https://github.com/apache/avro/pull/1644#issuecomment-1105599079

   Thank you, @KyleSchoonover !




Issue Time Tracking
-------------------

    Worklog Id:     (was: 760277)
    Time Spent: 0.5h  (was: 20m)

> Fix IDE0016 Use throw expression
> --------------------------------
>
>                 Key: AVRO-3490
>                 URL: https://issues.apache.org/jira/browse/AVRO-3490
>             Project: Apache Avro
>          Issue Type: Sub-task
>          Components: csharp
>            Reporter: Kyle Schoonover
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {code:java}
> // 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; {code}
> For reference: [IDE0016: Use throw expression - .NET | Microsoft 
> Docs|https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0016]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to