예제 #1
0
 /// <summary />
 public override int GetHashCode()
 {
     return(HashCode.CombineHashCodes(
                Index.GetHashCode(),
                HashCode.CombineHashCodes(
                    Line.GetHashCode(),
                    Column.GetHashCode()
                    )
                ));
 }
예제 #2
0
 public override int GetHashCode() =>
 HashCode.CombineHashCodes(this.Index.GetHashCode(), HashCode.CombineHashCodes(this.Line.GetHashCode(), this.Column.GetHashCode()));
 public override int GetHashCode()
 {
     return(HashCode.CombineHashCodes(RegisteredType.GetHashCode(), Attribute.GetHashCode()));
 }
예제 #4
0
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 /// <returns>
 /// A hash code for the current <see cref="T:System.Object"/>.
 /// </returns>
 public override int GetHashCode()
 {
     return(HashCode.CombineHashCodes(Major.GetHashCode(), Minor.GetHashCode()));
 }
 public override int GetHashCode()
 {
     return(HashCode.CombineHashCodes(AttributeType.GetHashCode(), PropertyName.GetHashCode()));
 }