예제 #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));
 }