public override bool Equals(object obj) { BindingRestrictions.TypeRestriction restriction = obj as BindingRestrictions.TypeRestriction; return (((restriction != null) && TypeUtils.AreEquivalent(restriction._type, this._type)) && (restriction._expression == this._expression)); }