text: public override bool Equals(object o){if (typeof(QueryValueSource) != o.GetType()){return false;}var other = o as QueryValueSource;if (other == null)return false;return this.q.Equals(other.q) && this.defVal == other.defVal;}