コード例 #1
0
        public void Visit(ComparisionNullSafeEqualsExpression node)
        {
            var left  = node.LeftOprand;
            var right = node.RightOprand;

            VisitChild(2, false, false, left, right);

            if (!_verdictColumn)
            {
                return;
            }

            if (left is Identifier)
            {
                ComparisionEquals((Identifier)left,
                                  right.Evaluation(evaluationParameter),
                                  true, node);
            }
            else if (right is Identifier)
            {
                ComparisionEquals((Identifier)right,
                                  left.Evaluation(evaluationParameter),
                                  true, node);
            }
        }
コード例 #2
0
 public virtual void Visit(ComparisionNullSafeEqualsExpression node)
 {
     Visit((BinaryOperatorExpression)node);
 }