public bool Contains(MarkupPosition position) { Contract.Requires(position != null); return this.markup.Equals(position.markup); }
public int CompareTo(MarkupPosition markupPosition) { Contract.Requires(markupPosition != null); return MarkupComparer.Instance.Compare(this.markup, markupPosition.markup); }