generated from AArnott/Library.Template
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
When I enabled this analyzer it correctly complained about checkedTypes == default,
But the code fix doesn't result in checkedType is null as expected but in default is null:
This is because the code tries to handle null == checkedTypes and only tests if the right hand is null:
expr.Right is LiteralExpressionSyntax { RawKind: (int)SyntaxKind.NullLiteralExpression }Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
