Ejemplo n.º 1
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     unchecked {
         return(condition.GetHashCode() * 182981713
                + trueExpr.GetHashCode() * 917517169
                + falseExpr.GetHashCode() * 611651);
     }
 }
Ejemplo n.º 2
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     unchecked {
         int hashCode;
         if (targetType != null)
         {
             hashCode = targetType.GetHashCode();
         }
         else
         {
             hashCode = targetExpression.GetHashCode();
         }
         hashCode ^= memberName.GetHashCode();
         hashCode ^= typeArguments.GetHashCode();
         return(hashCode);
     }
 }
Ejemplo n.º 3
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     unchecked {
         return(left.GetHashCode() * 811 + operatorType.GetHashCode() + right.GetHashCode() * 91781);
     }
 }
Ejemplo n.º 4
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     unchecked {
         return(expression.GetHashCode() * 811 + operatorType.GetHashCode());
     }
 }
Ejemplo n.º 5
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     return(expression.GetHashCode() ^ (checkForOverflow ? 161851612 : 75163517));
 }
Ejemplo n.º 6
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     unchecked {
         return(targetType.GetHashCode() + expression.GetHashCode() * 1018829);
     }
 }