public override int GetHashCode()
        {
            var hashCode = -655746530;

            hashCode = hashCode * -1521134295 + FirstOperand.GetHashCode();
            hashCode = hashCode * -1521134295 + Operator.GetHashCode();
            hashCode = hashCode * -1521134295 + SecondOperand.GetHashCode();
            return(hashCode);
        }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = FirstOperand.GetHashCode();
         hashCode = (hashCode * 397) ^ SecondOperand.GetHashCode();
         hashCode = (hashCode * 397) ^ Operation.GetHashCode();
         return(hashCode);
     }
 }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Label != null ? Label.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (LeftPartIdentifier != null ? LeftPartIdentifier.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FirstOperand != null ? FirstOperand.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SecondOperand != null ? SecondOperand.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Operation != null ? Operation.GetHashCode() : 0);
         return(hashCode);
     }
 }