marinasundstrom / CheckedExceptionsAnalyzer

0 stars 0 forks source link

Handle "throw" expression #13

Open marinasundstrom opened 3 days ago

marinasundstrom commented 3 days ago

Should be treated like Throw statements.

void Foo(string? input) 
{
    var value = input ?? throw new ArgumentNullException(nameof(input));
}