Skip to content

Commit

Permalink
Qodana scan: Possible null reference exception
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-VBFK committed Aug 21, 2023
1 parent ef5f8e2 commit c453852
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ private sealed class AndOperatorChainExtractor : ExpressionVisitor

public override Expression Visit(Expression node)
{
Guard.ThrowIfArgumentIsNull(node);

if (node.NodeType == ExpressionType.AndAlso)
{
var binaryExpression = (BinaryExpression)node;
Expand Down

0 comments on commit c453852

Please sign in to comment.