public override int GetHashCode() { lock (this) { if (!hashValueSet) { hashValue = c.GetHashCode(); hashValueSet = true; } } return hashValue; }
public override int GetHashCode() { int hash = 0; if (forward != null) { hash ^= forward.GetHashCode(); } if (reverse != null) { hash ^= reverse.GetHashCode(); } return(hash); }