text: public override bool Equals(object obj){if (this == obj){return true;}if (!base.Equals(obj)){return false;}if (this.GetType() != obj.GetType()){return false;}TermRangeQuery other = (TermRangeQuery)obj;if (includeLower != other.includeLower){return false;}if (includeUpper != other.includeUpper){return false;}if (lowerTerm == null){if (other.lowerTerm != null){return false;}}else if (!lowerTerm.Equals(other.lowerTerm)){return false;}if (upperTerm == null){if (other.upperTerm != null){return false;}}else if (!upperTerm.Equals(other.upperTerm)){return false;}return true;}