Example #1
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     unchecked {
         return(condition.GetHashCode() * 182981713
                + trueExpr.GetHashCode() * 917517169
                + falseExpr.GetHashCode() * 611651);
     }
 }
Example #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);
     }
 }
Example #3
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     unchecked {
         return(left.GetHashCode() * 811 + operatorType.GetHashCode() + right.GetHashCode() * 91781);
     }
 }
Example #4
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     unchecked {
         return(expression.GetHashCode() * 811 + operatorType.GetHashCode());
     }
 }
Example #5
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     return(expression.GetHashCode() ^ (checkForOverflow ? 161851612 : 75163517));
 }
Example #6
0
 int ISupportsInterning.GetHashCodeForInterning()
 {
     unchecked {
         return(targetType.GetHashCode() + expression.GetHashCode() * 1018829);
     }
 }