public override bool Equals(object obj) { var x = obj as UrlPathString; if (x == null) return false; return this.NotEncoded == x.NotEncoded; }