Пример #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((LeftSpan.GetHashCode() * 397) ^ RightSpan.GetHashCode());
     }
 }
Пример #2
0
 public bool Equals(BraceMatchingResult other)
 {
     return(LeftSpan.Equals(other.LeftSpan) && RightSpan.Equals(other.RightSpan));
 }