public override bool Equals(object o) { if (o is BTValuePair) { BTValuePair pair = o as BTValuePair; return((this.val1 == pair.val1 && this.val2 == pair.val2) || (this.val1 == pair.val2 && this.val2 == pair.val1)); } return(false); }
internal bool this [BTValue val1, BTValue val2] { get { BTValuePair pair = new BTValuePair(val1, val2); bool flag = this.hash.Contains(pair); this.hash[pair] = true; return(flag); } }
internal bool this[BTValue val1, BTValue val2] { get { BTValuePair pair = new BTValuePair(val1, val2); bool flag = this.hash.Contains(pair); this.hash[pair] = true; return flag; } }