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