Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Snipped != null ? Snipped.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Line;
         hashCode = (hashCode * 397) ^ Character;
         return(hashCode);
     }
 }
Esempio n. 2
0
 public bool Equals(CharacterLocationExtended other)
 {
     return(Snipped.Equals(other.Snipped) && Line == other.Line && Character == other.Character);
 }