コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((_propertyPath.GetHashCode() * 397) ^ _rightKey.GetHashCode());
     }
 }
コード例 #2
0
ファイル: ClusteringSpec.cs プロジェクト: laeubisoft/pwiz
 public override int GetHashCode()
 {
     unchecked
     {
         return(((PropertyPath != null ? PropertyPath.GetHashCode() : 0) * 397) ^ (ColumnId != null ? ColumnId.GetHashCode() : 0));
     }
 }
コード例 #3
0
 /// <summary>
 /// Returns the hash code for this string.
 /// </summary>
 /// <returns> A 32-bit signed integer hash code.</returns>
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (397 * (ConfigurationSet?.GetHashCode() ?? 0)) ^ ((PropertyPath?.GetHashCode() ?? 0));
         return(hashCode);
     }
 }
コード例 #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = PropertyPath.GetHashCode();
         hash = 31 * hash + IsAscending.GetHashCode();
         return(hash);
     }
 }
コード例 #5
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = PropertyPath.GetHashCode();
         hashCode = (hashCode * 397) ^ (OldValue != null ? OldValue.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (NewValue != null ? NewValue.GetHashCode() : 0);
         return(hashCode);
     }
 }
コード例 #6
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = PropertyPath.GetHashCode();
         hash = 31 * hash + Predicate.GetHashCode();
         hash = 31 * hash + Value.GetHashCode();
         return(hash);
     }
 }
コード例 #7
0
 public override int GetHashCode()
 {
     return(PropertyPath.GetHashCode());
 }
コード例 #8
0
 public override int GetHashCode()
 {
     return(PropertyPath.GetHashCode() ^ (OneTimeBinding ? 123456789 : 741852963));
 }
コード例 #9
0
 public override int GetHashCode()
 {
     return(Source.GetHashCode() ^ (PropertyPath?.GetHashCode() ?? 0));
 }
コード例 #10
0
        public override int GetHashCode()
        {
            int hashCode = PropertyPath.GetHashCode();

            return(hashCode);
        }
コード例 #11
0
 public int HashCodeForPropertyPath()
 {
     return(RuntimeSerializedObject.TargetObject.GetInstanceID() ^ RuntimeSerializedObject.Target.GetHashCode() ^ PropertyPath.GetHashCode());
 }